From 450d75087cd1fa9da74e25188fdbc4742fbc720f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dawid=20Ma=C5=82ecki?= Date: Thu, 9 Apr 2026 07:04:52 -0700 Subject: [PATCH] Exclude symbols marked as `deprecated` from the C++ public API snapshot (#56350) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/56350 Excludes symbols marked as `deprecated`, such as: - viewRegistry_DEPRECATED - DEPRECATED_sendUpdatedChildFrames - nativeProps_DEPRECATED - findShadowNodeByTag_DEPRECATED - setNativeProps_DEPRECATED from the C++ public API snapshot. Changelog: [Internal] Reviewed By: huntie Differential Revision: D99838523 fbshipit-source-id: d164564f41b1ac9fa58aac87e34b17fdde135528 --- scripts/cxx-api/api-snapshots/ReactAndroidDebugCxx.api | 4 ---- scripts/cxx-api/api-snapshots/ReactAndroidReleaseCxx.api | 4 ---- scripts/cxx-api/api-snapshots/ReactAppleDebugCxx.api | 9 --------- scripts/cxx-api/api-snapshots/ReactAppleReleaseCxx.api | 9 --------- scripts/cxx-api/api-snapshots/ReactCommonDebugCxx.api | 3 --- scripts/cxx-api/api-snapshots/ReactCommonReleaseCxx.api | 3 --- scripts/cxx-api/config.yml | 2 ++ 7 files changed, 2 insertions(+), 32 deletions(-) diff --git a/scripts/cxx-api/api-snapshots/ReactAndroidDebugCxx.api b/scripts/cxx-api/api-snapshots/ReactAndroidDebugCxx.api index 90edc69e123..93cc7a00087 100644 --- a/scripts/cxx-api/api-snapshots/ReactAndroidDebugCxx.api +++ b/scripts/cxx-api/api-snapshots/ReactAndroidDebugCxx.api @@ -2458,7 +2458,6 @@ class facebook::react::HostPlatformViewProps : public facebook::react::BaseViewP public HostPlatformViewProps(const facebook::react::PropsParserContext& context, const facebook::react::HostPlatformViewProps& sourceProps, const facebook::react::RawProps& rawProps); public HostPlatformViewProps(const facebook::react::PropsParserContext& context, const facebook::react::HostPlatformViewProps& sourceProps, const facebook::react::RawProps& rawProps, const std::function& filterObjectKeys = nullptr); public bool focusable; - public bool getProbablyMoreHorizontalThanVertical_DEPRECATED() const; public bool hasTVPreferredFocus; public bool needsOffscreenAlphaCompositing; public bool renderToHardwareTextureAndroid; @@ -4623,7 +4622,6 @@ class facebook::react::ShadowNodeFamily : public facebook::jsi::NativeState { public facebook::react::SharedEventEmitter getEventEmitter() const; public facebook::react::SurfaceId getSurfaceId() const; public facebook::react::Tag getTag() const; - public mutable std::unique_ptr nativeProps_DEPRECATED; public std::shared_ptr getMostRecentState() const; public using AncestorList = std::vector, int>>; public using Shared = std::shared_ptr; @@ -5178,7 +5176,6 @@ class facebook::react::UIManager : public facebook::react::ShadowTreeDelegate { public facebook::react::UIManagerViewTransitionDelegate* getViewTransitionDelegate() const; public std::shared_ptr getContextContainer() const; public std::shared_ptr findNodeAtPoint(const std::shared_ptr& shadowNode, facebook::react::Point point) const; - public std::shared_ptr findShadowNodeByTag_DEPRECATED(facebook::react::Tag tag) const; public std::shared_ptr getNewestCloneOfShadowNode(const facebook::react::ShadowNode& shadowNode) const; public std::shared_ptr cloneNode(const facebook::react::ShadowNode& shadowNode, const std::shared_ptr>>& children, facebook::react::RawProps rawProps) const; public std::shared_ptr createNode(facebook::react::Tag tag, const std::string& componentName, facebook::react::SurfaceId surfaceId, facebook::react::RawProps props, facebook::react::InstanceHandle::Shared instanceHandle) const; @@ -5202,7 +5199,6 @@ class facebook::react::UIManager : public facebook::react::ShadowTreeDelegate { public void setDelegate(facebook::react::UIManagerDelegate* delegate); public void setIsJSResponder(const std::shared_ptr& shadowNode, bool isJSResponder, bool blockNativeResponder) const; public void setNativeAnimatedDelegate(std::weak_ptr delegate); - public void setNativeProps_DEPRECATED(const std::shared_ptr& shadowNode, facebook::react::RawProps rawProps) const; public void setOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback); public void setSurfaceProps(facebook::react::SurfaceId surfaceId, const std::string& moduleName, const folly::dynamic& props, facebook::react::DisplayMode displayMode) const noexcept; public void setViewTransitionDelegate(facebook::react::UIManagerViewTransitionDelegate* delegate); diff --git a/scripts/cxx-api/api-snapshots/ReactAndroidReleaseCxx.api b/scripts/cxx-api/api-snapshots/ReactAndroidReleaseCxx.api index 58c64e69322..138be39942a 100644 --- a/scripts/cxx-api/api-snapshots/ReactAndroidReleaseCxx.api +++ b/scripts/cxx-api/api-snapshots/ReactAndroidReleaseCxx.api @@ -2455,7 +2455,6 @@ class facebook::react::HostPlatformViewProps : public facebook::react::BaseViewP public HostPlatformViewProps(const facebook::react::PropsParserContext& context, const facebook::react::HostPlatformViewProps& sourceProps, const facebook::react::RawProps& rawProps); public HostPlatformViewProps(const facebook::react::PropsParserContext& context, const facebook::react::HostPlatformViewProps& sourceProps, const facebook::react::RawProps& rawProps, const std::function& filterObjectKeys = nullptr); public bool focusable; - public bool getProbablyMoreHorizontalThanVertical_DEPRECATED() const; public bool hasTVPreferredFocus; public bool needsOffscreenAlphaCompositing; public bool renderToHardwareTextureAndroid; @@ -4614,7 +4613,6 @@ class facebook::react::ShadowNodeFamily : public facebook::jsi::NativeState { public facebook::react::SharedEventEmitter getEventEmitter() const; public facebook::react::SurfaceId getSurfaceId() const; public facebook::react::Tag getTag() const; - public mutable std::unique_ptr nativeProps_DEPRECATED; public std::shared_ptr getMostRecentState() const; public using AncestorList = std::vector, int>>; public using Shared = std::shared_ptr; @@ -5169,7 +5167,6 @@ class facebook::react::UIManager : public facebook::react::ShadowTreeDelegate { public facebook::react::UIManagerViewTransitionDelegate* getViewTransitionDelegate() const; public std::shared_ptr getContextContainer() const; public std::shared_ptr findNodeAtPoint(const std::shared_ptr& shadowNode, facebook::react::Point point) const; - public std::shared_ptr findShadowNodeByTag_DEPRECATED(facebook::react::Tag tag) const; public std::shared_ptr getNewestCloneOfShadowNode(const facebook::react::ShadowNode& shadowNode) const; public std::shared_ptr cloneNode(const facebook::react::ShadowNode& shadowNode, const std::shared_ptr>>& children, facebook::react::RawProps rawProps) const; public std::shared_ptr createNode(facebook::react::Tag tag, const std::string& componentName, facebook::react::SurfaceId surfaceId, facebook::react::RawProps props, facebook::react::InstanceHandle::Shared instanceHandle) const; @@ -5193,7 +5190,6 @@ class facebook::react::UIManager : public facebook::react::ShadowTreeDelegate { public void setDelegate(facebook::react::UIManagerDelegate* delegate); public void setIsJSResponder(const std::shared_ptr& shadowNode, bool isJSResponder, bool blockNativeResponder) const; public void setNativeAnimatedDelegate(std::weak_ptr delegate); - public void setNativeProps_DEPRECATED(const std::shared_ptr& shadowNode, facebook::react::RawProps rawProps) const; public void setOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback); public void setSurfaceProps(facebook::react::SurfaceId surfaceId, const std::string& moduleName, const folly::dynamic& props, facebook::react::DisplayMode displayMode) const noexcept; public void setViewTransitionDelegate(facebook::react::UIManagerViewTransitionDelegate* delegate); diff --git a/scripts/cxx-api/api-snapshots/ReactAppleDebugCxx.api b/scripts/cxx-api/api-snapshots/ReactAppleDebugCxx.api index c2248545b4f..66b5490a58f 100644 --- a/scripts/cxx-api/api-snapshots/ReactAppleDebugCxx.api +++ b/scripts/cxx-api/api-snapshots/ReactAppleDebugCxx.api @@ -815,7 +815,6 @@ interface RCTBridgeModuleDecorator : public NSObject { public @property (strong, readonly) RCTBundleManager* bundleManager; public @property (strong, readonly) RCTCallableJSModules* callableJSModules; public @property (strong, readonly) RCTModuleRegistry* moduleRegistry; - public @property (strong, readonly) RCTViewRegistry* viewRegistry_DEPRECATED; public virtual instancetype initWithViewRegistry:moduleRegistry:bundleManager:callableJSModules:(RCTViewRegistry* viewRegistry, RCTModuleRegistry* moduleRegistry, RCTBundleManager* bundleManager, RCTCallableJSModules* callableJSModules); public virtual void attachInteropAPIsToModule:(id bridgeModule); } @@ -1174,7 +1173,6 @@ interface RCTEventDispatcher : public NSObject { public @property (weak) RCTBridge* bridge; public @property (weak) RCTModuleRegistry* moduleRegistry; - public @property (weak) RCTViewRegistry* viewRegistry_DEPRECATED; public virtual NSArray* supportedEvents(); public virtual instancetype initWithDisabledObservation(); public virtual void addListener:(NSString* eventName); @@ -1583,8 +1581,6 @@ interface RCTModuleData : public NSObject { public @property (strong, readonly) Class moduleClass; public @property (strong, readonly) dispatch_queue_t methodQueue; public @property (weak) id callInvokerProvider; - public virtual instancetype initWithModuleClass:bridge:moduleRegistry:viewRegistry_DEPRECATED:bundleManager:callableJSModules:(Class moduleClass, RCTBridge* bridge, RCTModuleRegistry* moduleRegistry, RCTViewRegistry* viewRegistry_DEPRECATED, RCTBundleManager* bundleManager, RCTCallableJSModules* callableJSModules); - public virtual instancetype initWithModuleInstance:bridge:moduleRegistry:viewRegistry_DEPRECATED:bundleManager:callableJSModules:(id instance, RCTBridge* bridge, RCTModuleRegistry* moduleRegistry, RCTViewRegistry* viewRegistry_DEPRECATED, RCTBundleManager* bundleManager, RCTCallableJSModules* callableJSModules); public virtual void gatherConstants(); } @@ -1952,7 +1948,6 @@ interface RCTScrollEvent : public NSObject { } interface RCTScrollView : public RCTView { - public @property (assign) BOOL DEPRECATED_sendUpdatedChildFrames; public @property (assign) BOOL automaticallyAdjustContentInsets; public @property (assign) BOOL automaticallyAdjustKeyboardInsets; public @property (assign) BOOL centerContent; @@ -3038,7 +3033,6 @@ protocol RCTBridgeModule : public NSObject { public @property (weak) RCTBundleManager* bundleManager; public @property (weak) RCTCallableJSModules* callableJSModules; public @property (weak) RCTModuleRegistry* moduleRegistry; - public @property (weak) RCTViewRegistry* viewRegistry_DEPRECATED; public @property (weak, readonly) RCTBridge* bridge; public virtual NSArray>* methodsToExport(); public virtual NSDictionary* constantsToExport(); @@ -7255,7 +7249,6 @@ class facebook::react::ShadowNodeFamily : public facebook::jsi::NativeState { public facebook::react::SharedEventEmitter getEventEmitter() const; public facebook::react::SurfaceId getSurfaceId() const; public facebook::react::Tag getTag() const; - public mutable std::unique_ptr nativeProps_DEPRECATED; public std::shared_ptr getMostRecentState() const; public using AncestorList = std::vector, int>>; public using Shared = std::shared_ptr; @@ -7790,7 +7783,6 @@ class facebook::react::UIManager : public facebook::react::ShadowTreeDelegate { public facebook::react::UIManagerViewTransitionDelegate* getViewTransitionDelegate() const; public std::shared_ptr getContextContainer() const; public std::shared_ptr findNodeAtPoint(const std::shared_ptr& shadowNode, facebook::react::Point point) const; - public std::shared_ptr findShadowNodeByTag_DEPRECATED(facebook::react::Tag tag) const; public std::shared_ptr getNewestCloneOfShadowNode(const facebook::react::ShadowNode& shadowNode) const; public std::shared_ptr cloneNode(const facebook::react::ShadowNode& shadowNode, const std::shared_ptr>>& children, facebook::react::RawProps rawProps) const; public std::shared_ptr createNode(facebook::react::Tag tag, const std::string& componentName, facebook::react::SurfaceId surfaceId, facebook::react::RawProps props, facebook::react::InstanceHandle::Shared instanceHandle) const; @@ -7814,7 +7806,6 @@ class facebook::react::UIManager : public facebook::react::ShadowTreeDelegate { public void setDelegate(facebook::react::UIManagerDelegate* delegate); public void setIsJSResponder(const std::shared_ptr& shadowNode, bool isJSResponder, bool blockNativeResponder) const; public void setNativeAnimatedDelegate(std::weak_ptr delegate); - public void setNativeProps_DEPRECATED(const std::shared_ptr& shadowNode, facebook::react::RawProps rawProps) const; public void setOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback); public void setSurfaceProps(facebook::react::SurfaceId surfaceId, const std::string& moduleName, const folly::dynamic& props, facebook::react::DisplayMode displayMode) const noexcept; public void setViewTransitionDelegate(facebook::react::UIManagerViewTransitionDelegate* delegate); diff --git a/scripts/cxx-api/api-snapshots/ReactAppleReleaseCxx.api b/scripts/cxx-api/api-snapshots/ReactAppleReleaseCxx.api index 948d2b99f58..cab97558b33 100644 --- a/scripts/cxx-api/api-snapshots/ReactAppleReleaseCxx.api +++ b/scripts/cxx-api/api-snapshots/ReactAppleReleaseCxx.api @@ -815,7 +815,6 @@ interface RCTBridgeModuleDecorator : public NSObject { public @property (strong, readonly) RCTBundleManager* bundleManager; public @property (strong, readonly) RCTCallableJSModules* callableJSModules; public @property (strong, readonly) RCTModuleRegistry* moduleRegistry; - public @property (strong, readonly) RCTViewRegistry* viewRegistry_DEPRECATED; public virtual instancetype initWithViewRegistry:moduleRegistry:bundleManager:callableJSModules:(RCTViewRegistry* viewRegistry, RCTModuleRegistry* moduleRegistry, RCTBundleManager* bundleManager, RCTCallableJSModules* callableJSModules); public virtual void attachInteropAPIsToModule:(id bridgeModule); } @@ -1174,7 +1173,6 @@ interface RCTEventDispatcher : public NSObject { public @property (weak) RCTBridge* bridge; public @property (weak) RCTModuleRegistry* moduleRegistry; - public @property (weak) RCTViewRegistry* viewRegistry_DEPRECATED; public virtual NSArray* supportedEvents(); public virtual instancetype initWithDisabledObservation(); public virtual void addListener:(NSString* eventName); @@ -1583,8 +1581,6 @@ interface RCTModuleData : public NSObject { public @property (strong, readonly) Class moduleClass; public @property (strong, readonly) dispatch_queue_t methodQueue; public @property (weak) id callInvokerProvider; - public virtual instancetype initWithModuleClass:bridge:moduleRegistry:viewRegistry_DEPRECATED:bundleManager:callableJSModules:(Class moduleClass, RCTBridge* bridge, RCTModuleRegistry* moduleRegistry, RCTViewRegistry* viewRegistry_DEPRECATED, RCTBundleManager* bundleManager, RCTCallableJSModules* callableJSModules); - public virtual instancetype initWithModuleInstance:bridge:moduleRegistry:viewRegistry_DEPRECATED:bundleManager:callableJSModules:(id instance, RCTBridge* bridge, RCTModuleRegistry* moduleRegistry, RCTViewRegistry* viewRegistry_DEPRECATED, RCTBundleManager* bundleManager, RCTCallableJSModules* callableJSModules); public virtual void gatherConstants(); } @@ -1952,7 +1948,6 @@ interface RCTScrollEvent : public NSObject { } interface RCTScrollView : public RCTView { - public @property (assign) BOOL DEPRECATED_sendUpdatedChildFrames; public @property (assign) BOOL automaticallyAdjustContentInsets; public @property (assign) BOOL automaticallyAdjustKeyboardInsets; public @property (assign) BOOL centerContent; @@ -3038,7 +3033,6 @@ protocol RCTBridgeModule : public NSObject { public @property (weak) RCTBundleManager* bundleManager; public @property (weak) RCTCallableJSModules* callableJSModules; public @property (weak) RCTModuleRegistry* moduleRegistry; - public @property (weak) RCTViewRegistry* viewRegistry_DEPRECATED; public @property (weak, readonly) RCTBridge* bridge; public virtual NSArray>* methodsToExport(); public virtual NSDictionary* constantsToExport(); @@ -7246,7 +7240,6 @@ class facebook::react::ShadowNodeFamily : public facebook::jsi::NativeState { public facebook::react::SharedEventEmitter getEventEmitter() const; public facebook::react::SurfaceId getSurfaceId() const; public facebook::react::Tag getTag() const; - public mutable std::unique_ptr nativeProps_DEPRECATED; public std::shared_ptr getMostRecentState() const; public using AncestorList = std::vector, int>>; public using Shared = std::shared_ptr; @@ -7781,7 +7774,6 @@ class facebook::react::UIManager : public facebook::react::ShadowTreeDelegate { public facebook::react::UIManagerViewTransitionDelegate* getViewTransitionDelegate() const; public std::shared_ptr getContextContainer() const; public std::shared_ptr findNodeAtPoint(const std::shared_ptr& shadowNode, facebook::react::Point point) const; - public std::shared_ptr findShadowNodeByTag_DEPRECATED(facebook::react::Tag tag) const; public std::shared_ptr getNewestCloneOfShadowNode(const facebook::react::ShadowNode& shadowNode) const; public std::shared_ptr cloneNode(const facebook::react::ShadowNode& shadowNode, const std::shared_ptr>>& children, facebook::react::RawProps rawProps) const; public std::shared_ptr createNode(facebook::react::Tag tag, const std::string& componentName, facebook::react::SurfaceId surfaceId, facebook::react::RawProps props, facebook::react::InstanceHandle::Shared instanceHandle) const; @@ -7805,7 +7797,6 @@ class facebook::react::UIManager : public facebook::react::ShadowTreeDelegate { public void setDelegate(facebook::react::UIManagerDelegate* delegate); public void setIsJSResponder(const std::shared_ptr& shadowNode, bool isJSResponder, bool blockNativeResponder) const; public void setNativeAnimatedDelegate(std::weak_ptr delegate); - public void setNativeProps_DEPRECATED(const std::shared_ptr& shadowNode, facebook::react::RawProps rawProps) const; public void setOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback); public void setSurfaceProps(facebook::react::SurfaceId surfaceId, const std::string& moduleName, const folly::dynamic& props, facebook::react::DisplayMode displayMode) const noexcept; public void setViewTransitionDelegate(facebook::react::UIManagerViewTransitionDelegate* delegate); diff --git a/scripts/cxx-api/api-snapshots/ReactCommonDebugCxx.api b/scripts/cxx-api/api-snapshots/ReactCommonDebugCxx.api index fb069a105c7..abc0536f2fc 100644 --- a/scripts/cxx-api/api-snapshots/ReactCommonDebugCxx.api +++ b/scripts/cxx-api/api-snapshots/ReactCommonDebugCxx.api @@ -3187,7 +3187,6 @@ class facebook::react::ShadowNodeFamily : public facebook::jsi::NativeState { public facebook::react::SharedEventEmitter getEventEmitter() const; public facebook::react::SurfaceId getSurfaceId() const; public facebook::react::Tag getTag() const; - public mutable std::unique_ptr nativeProps_DEPRECATED; public std::shared_ptr getMostRecentState() const; public using AncestorList = std::vector, int>>; public using Shared = std::shared_ptr; @@ -3643,7 +3642,6 @@ class facebook::react::UIManager : public facebook::react::ShadowTreeDelegate { public facebook::react::UIManagerViewTransitionDelegate* getViewTransitionDelegate() const; public std::shared_ptr getContextContainer() const; public std::shared_ptr findNodeAtPoint(const std::shared_ptr& shadowNode, facebook::react::Point point) const; - public std::shared_ptr findShadowNodeByTag_DEPRECATED(facebook::react::Tag tag) const; public std::shared_ptr getNewestCloneOfShadowNode(const facebook::react::ShadowNode& shadowNode) const; public std::shared_ptr cloneNode(const facebook::react::ShadowNode& shadowNode, const std::shared_ptr>>& children, facebook::react::RawProps rawProps) const; public std::shared_ptr createNode(facebook::react::Tag tag, const std::string& componentName, facebook::react::SurfaceId surfaceId, facebook::react::RawProps props, facebook::react::InstanceHandle::Shared instanceHandle) const; @@ -3667,7 +3665,6 @@ class facebook::react::UIManager : public facebook::react::ShadowTreeDelegate { public void setDelegate(facebook::react::UIManagerDelegate* delegate); public void setIsJSResponder(const std::shared_ptr& shadowNode, bool isJSResponder, bool blockNativeResponder) const; public void setNativeAnimatedDelegate(std::weak_ptr delegate); - public void setNativeProps_DEPRECATED(const std::shared_ptr& shadowNode, facebook::react::RawProps rawProps) const; public void setOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback); public void setSurfaceProps(facebook::react::SurfaceId surfaceId, const std::string& moduleName, const folly::dynamic& props, facebook::react::DisplayMode displayMode) const noexcept; public void setViewTransitionDelegate(facebook::react::UIManagerViewTransitionDelegate* delegate); diff --git a/scripts/cxx-api/api-snapshots/ReactCommonReleaseCxx.api b/scripts/cxx-api/api-snapshots/ReactCommonReleaseCxx.api index 88c3ca55158..f52fcb96025 100644 --- a/scripts/cxx-api/api-snapshots/ReactCommonReleaseCxx.api +++ b/scripts/cxx-api/api-snapshots/ReactCommonReleaseCxx.api @@ -3178,7 +3178,6 @@ class facebook::react::ShadowNodeFamily : public facebook::jsi::NativeState { public facebook::react::SharedEventEmitter getEventEmitter() const; public facebook::react::SurfaceId getSurfaceId() const; public facebook::react::Tag getTag() const; - public mutable std::unique_ptr nativeProps_DEPRECATED; public std::shared_ptr getMostRecentState() const; public using AncestorList = std::vector, int>>; public using Shared = std::shared_ptr; @@ -3634,7 +3633,6 @@ class facebook::react::UIManager : public facebook::react::ShadowTreeDelegate { public facebook::react::UIManagerViewTransitionDelegate* getViewTransitionDelegate() const; public std::shared_ptr getContextContainer() const; public std::shared_ptr findNodeAtPoint(const std::shared_ptr& shadowNode, facebook::react::Point point) const; - public std::shared_ptr findShadowNodeByTag_DEPRECATED(facebook::react::Tag tag) const; public std::shared_ptr getNewestCloneOfShadowNode(const facebook::react::ShadowNode& shadowNode) const; public std::shared_ptr cloneNode(const facebook::react::ShadowNode& shadowNode, const std::shared_ptr>>& children, facebook::react::RawProps rawProps) const; public std::shared_ptr createNode(facebook::react::Tag tag, const std::string& componentName, facebook::react::SurfaceId surfaceId, facebook::react::RawProps props, facebook::react::InstanceHandle::Shared instanceHandle) const; @@ -3658,7 +3656,6 @@ class facebook::react::UIManager : public facebook::react::ShadowTreeDelegate { public void setDelegate(facebook::react::UIManagerDelegate* delegate); public void setIsJSResponder(const std::shared_ptr& shadowNode, bool isJSResponder, bool blockNativeResponder) const; public void setNativeAnimatedDelegate(std::weak_ptr delegate); - public void setNativeProps_DEPRECATED(const std::shared_ptr& shadowNode, facebook::react::RawProps rawProps) const; public void setOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback); public void setSurfaceProps(facebook::react::SurfaceId surfaceId, const std::string& moduleName, const folly::dynamic& props, facebook::react::DisplayMode displayMode) const noexcept; public void setViewTransitionDelegate(facebook::react::UIManagerViewTransitionDelegate* delegate); diff --git a/scripts/cxx-api/config.yml b/scripts/cxx-api/config.yml index 2a1272bb0a1..80badf09fcf 100644 --- a/scripts/cxx-api/config.yml +++ b/scripts/cxx-api/config.yml @@ -15,6 +15,8 @@ exclude_symbols: - "TinyMap" - "packAnimatedProps" - "DO_NOT_USE" + - "_DEPRECATED" + - "DEPRECATED_" platforms: ReactCommon: