mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Exclude deprecated and internal categories from the ReactApple C++ snapshot. (#56351)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/56351 Excludes categories marked as `Deprecated` and `Internal` from the ReactApple C++ public API snapshots. Changelog: [Internal] Reviewed By: huntie Differential Revision: D99838922 fbshipit-source-id: c0266d0edcd4cef4af3d856ffc55b8a7bd07a299
This commit is contained in:
1 parent
450d75087c
commit
f5326c9f33
3 files changed
+2
-72
No files matched your search
@@ -107,19 +107,6 @@ category RCTConvert(CoreLocation) {
|
||||
public virtual static CLLocationDistance CLLocationDistance:(id json);
|
||||
}
|
||||
|
||||
category RCTConvert(Deprecated) {
|
||||
protected typedef NSArray NSArrayArray;
|
||||
protected typedef NSArray NSDictionaryArray;
|
||||
protected typedef NSArray NSNumberArray;
|
||||
protected typedef NSArray NSStringArray;
|
||||
protected typedef NSArray NSStringArrayArray;
|
||||
protected typedef NSArray NSURLArray;
|
||||
protected typedef NSArray RCTFileURLArray;
|
||||
protected typedef NSArray UIColorArray;
|
||||
public virtual static CGImageRef CGImage:(id json);
|
||||
public virtual static UIImage* UIImage:(id json);
|
||||
}
|
||||
|
||||
category RCTConvert(DynamicTypeRamp) {
|
||||
public virtual static RCTDynamicTypeRamp RCTDynamicTypeRamp:(_Nullable id json);
|
||||
}
|
||||
@@ -246,29 +233,6 @@ category RCTCxxConvert(NativeWebSocketModule_SpecConnectOptions) {
|
||||
public virtual static RCTManagedPointer* JS_NativeWebSocketModule_SpecConnectOptions:(id json);
|
||||
}
|
||||
|
||||
category RCTFabricSurface(Deprecated) {
|
||||
public virtual instancetype initWithBridge:moduleName:initialProperties:(RCTBridge* bridge, NSString* moduleName, NSDictionary* initialProperties);
|
||||
}
|
||||
|
||||
category RCTFabricSurface(Internal) {
|
||||
public virtual const facebook::react::SurfaceHandler& surfaceHandler();
|
||||
}
|
||||
|
||||
category RCTImageStoreManager(Deprecated) {
|
||||
public virtual NSString* storeImage:(UIImage* image);
|
||||
public virtual UIImage* imageForTag:(NSString* imageTag);
|
||||
public virtual void getImageForTag:withBlock:(NSString* imageTag, void(^)(UIImage* image) block);
|
||||
}
|
||||
|
||||
category RCTRootView(Deprecated) {
|
||||
public @property (assign, readonly) CGSize intrinsicSize;
|
||||
public virtual void cancelTouches();
|
||||
}
|
||||
|
||||
category RCTScrollView(Internal) {
|
||||
public virtual void updateContentSizeIfNeeded();
|
||||
}
|
||||
|
||||
category RCTScrollViewComponentView(ScrollableProtocol) {
|
||||
}
|
||||
|
||||
|
||||
@@ -107,19 +107,6 @@ category RCTConvert(CoreLocation) {
|
||||
public virtual static CLLocationDistance CLLocationDistance:(id json);
|
||||
}
|
||||
|
||||
category RCTConvert(Deprecated) {
|
||||
protected typedef NSArray NSArrayArray;
|
||||
protected typedef NSArray NSDictionaryArray;
|
||||
protected typedef NSArray NSNumberArray;
|
||||
protected typedef NSArray NSStringArray;
|
||||
protected typedef NSArray NSStringArrayArray;
|
||||
protected typedef NSArray NSURLArray;
|
||||
protected typedef NSArray RCTFileURLArray;
|
||||
protected typedef NSArray UIColorArray;
|
||||
public virtual static CGImageRef CGImage:(id json);
|
||||
public virtual static UIImage* UIImage:(id json);
|
||||
}
|
||||
|
||||
category RCTConvert(DynamicTypeRamp) {
|
||||
public virtual static RCTDynamicTypeRamp RCTDynamicTypeRamp:(_Nullable id json);
|
||||
}
|
||||
@@ -246,29 +233,6 @@ category RCTCxxConvert(NativeWebSocketModule_SpecConnectOptions) {
|
||||
public virtual static RCTManagedPointer* JS_NativeWebSocketModule_SpecConnectOptions:(id json);
|
||||
}
|
||||
|
||||
category RCTFabricSurface(Deprecated) {
|
||||
public virtual instancetype initWithBridge:moduleName:initialProperties:(RCTBridge* bridge, NSString* moduleName, NSDictionary* initialProperties);
|
||||
}
|
||||
|
||||
category RCTFabricSurface(Internal) {
|
||||
public virtual const facebook::react::SurfaceHandler& surfaceHandler();
|
||||
}
|
||||
|
||||
category RCTImageStoreManager(Deprecated) {
|
||||
public virtual NSString* storeImage:(UIImage* image);
|
||||
public virtual UIImage* imageForTag:(NSString* imageTag);
|
||||
public virtual void getImageForTag:withBlock:(NSString* imageTag, void(^)(UIImage* image) block);
|
||||
}
|
||||
|
||||
category RCTRootView(Deprecated) {
|
||||
public @property (assign, readonly) CGSize intrinsicSize;
|
||||
public virtual void cancelTouches();
|
||||
}
|
||||
|
||||
category RCTScrollView(Internal) {
|
||||
public virtual void updateContentSizeIfNeeded();
|
||||
}
|
||||
|
||||
category RCTScrollViewComponentView(ScrollableProtocol) {
|
||||
}
|
||||
|
||||
|
||||
@@ -94,6 +94,8 @@ platforms:
|
||||
- "*/components/switch/androidswitch/*"
|
||||
exclude_symbols:
|
||||
- "Android"
|
||||
- "(Deprecated)"
|
||||
- "(Internal)"
|
||||
input_filter: true
|
||||
definitions:
|
||||
__cplusplus: 1
|
||||
|
||||
Reference in new issue
Block a user