Skip to content

Commit

Permalink
Update third-party podspecs to target 0.71.11
Browse files Browse the repository at this point in the history
  • Loading branch information
Siobhan committed Jun 22, 2023
1 parent e7bf780 commit 17e4705
Show file tree
Hide file tree
Showing 41 changed files with 390 additions and 702 deletions.
4 changes: 2 additions & 2 deletions third-party-podspecs/FBLazyVector.podspec.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "FBLazyVector",
"version": "0.69.4",
"version": "0.71.11",
"summary": "-",
"homepage": "https://reactnative.dev/",
"license": "MIT",
Expand All @@ -10,7 +10,7 @@
},
"source": {
"git": "https://github.com/facebook/react-native.git",
"tag": "v0.69.4"
"tag": "v0.71.11"
},
"source_files": "**/*.{c,h,m,mm,cpp}",
"header_dir": "FBLazyVector",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "FBReactNativeSpec",
"version": "0.69.4",
"version": "0.71.11",
"summary": "-",
"homepage": "https://reactnative.dev/",
"license": "MIT",
Expand All @@ -11,7 +11,7 @@
"compiler_flags": "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32 -Wno-nullability-completeness",
"source": {
"git": "https://github.com/wordpress-mobile/gutenberg-mobile.git",
"commit": "ed9625d394b117fc9271fdf642ff9167e95d03cd",
"commit": "0",
"submodules": "true"
},
"header_dir": "FBReactNativeSpec",
Expand All @@ -22,22 +22,22 @@
},
"dependencies": {
"RCT-Folly": [
"2021.06.28.00-v2"
"2021.07.22.00"
],
"RCTRequired": [
"0.69.4"
"0.71.11"
],
"RCTTypeSafety": [
"0.69.4"
"0.71.11"
],
"React-Core": [
"0.69.4"
"0.71.11"
],
"React-jsi": [
"0.69.4"
"0.71.11"
],
"ReactCommon/turbomodule/core": [
"0.69.4"
"0.71.11"
]
},
"__WARNING!__": "This file is autogenerated by generate-podspecs.sh script. Do not modify manually. Re-run the script if necessary.",
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ namespace JS {
onError:(RCTResponseSenderBlock)onError;
- (void)getCurrentReduceMotionState:(RCTResponseSenderBlock)onSuccess
onError:(RCTResponseSenderBlock)onError;
- (void)getCurrentPrefersCrossFadeTransitionsState:(RCTResponseSenderBlock)onSuccess
onError:(RCTResponseSenderBlock)onError;
- (void)getCurrentReduceTransparencyState:(RCTResponseSenderBlock)onSuccess
onError:(RCTResponseSenderBlock)onError;
- (void)getCurrentVoiceOverState:(RCTResponseSenderBlock)onSuccess
Expand Down Expand Up @@ -198,7 +200,9 @@ namespace JS {
NSString *defaultValue() const;
NSString *cancelButtonKey() const;
NSString *destructiveButtonKey() const;
NSString *preferredButtonKey() const;
NSString *keyboardType() const;
NSString *userInterfaceStyle() const;

Args(NSDictionary *const v) : _v(v) {}
private:
Expand Down Expand Up @@ -284,6 +288,7 @@ saveValueCallback:(RCTResponseSenderBlock)saveValueCallback;
animatedNodeTag:(double)animatedNodeTag;
- (void)addListener:(NSString *)eventName;
- (void)removeListeners:(double)count;
- (void)queueAndExecuteBatchedOperations:(NSArray *)operationsAndArgs;

@end
namespace facebook {
Expand Down Expand Up @@ -354,6 +359,7 @@ saveValueCallback:(RCTResponseSenderBlock)saveValueCallback;
animatedNodeTag:(double)animatedNodeTag;
- (void)addListener:(NSString *)eventName;
- (void)removeListeners:(double)count;
- (void)queueAndExecuteBatchedOperations:(NSArray *)operationsAndArgs;

@end
namespace facebook {
Expand Down Expand Up @@ -452,58 +458,6 @@ namespace facebook {
};
} // namespace react
} // namespace facebook

@protocol NativeAsyncLocalStorageSpec <RCTBridgeModule, RCTTurboModule>

- (void)multiGet:(NSArray *)keys
callback:(RCTResponseSenderBlock)callback;
- (void)multiSet:(NSArray *)kvPairs
callback:(RCTResponseSenderBlock)callback;
- (void)multiMerge:(NSArray *)kvPairs
callback:(RCTResponseSenderBlock)callback;
- (void)multiRemove:(NSArray *)keys
callback:(RCTResponseSenderBlock)callback;
- (void)clear:(RCTResponseSenderBlock)callback;
- (void)getAllKeys:(RCTResponseSenderBlock)callback;

@end
namespace facebook {
namespace react {
/**
* ObjC++ class for module 'NativeAsyncLocalStorage'
*/
class JSI_EXPORT NativeAsyncLocalStorageSpecJSI : public ObjCTurboModule {
public:
NativeAsyncLocalStorageSpecJSI(const ObjCTurboModule::InitParams &params);
};
} // namespace react
} // namespace facebook

@protocol NativeAsyncSQLiteDBStorageSpec <RCTBridgeModule, RCTTurboModule>

- (void)multiGet:(NSArray *)keys
callback:(RCTResponseSenderBlock)callback;
- (void)multiSet:(NSArray *)kvPairs
callback:(RCTResponseSenderBlock)callback;
- (void)multiMerge:(NSArray *)kvPairs
callback:(RCTResponseSenderBlock)callback;
- (void)multiRemove:(NSArray *)keys
callback:(RCTResponseSenderBlock)callback;
- (void)clear:(RCTResponseSenderBlock)callback;
- (void)getAllKeys:(RCTResponseSenderBlock)callback;

@end
namespace facebook {
namespace react {
/**
* ObjC++ class for module 'NativeAsyncSQLiteDBStorage'
*/
class JSI_EXPORT NativeAsyncSQLiteDBStorageSpecJSI : public ObjCTurboModule {
public:
NativeAsyncSQLiteDBStorageSpecJSI(const ObjCTurboModule::InitParams &params);
};
} // namespace react
} // namespace facebook
namespace JS {
namespace NativeBlobModule {
struct Constants {
Expand Down Expand Up @@ -1150,63 +1104,6 @@ namespace facebook {
};
} // namespace react
} // namespace facebook
namespace JS {
namespace NativeImagePickerIOS {
struct SpecOpenCameraDialogConfig {
bool unmirrorFrontFacingCamera() const;
bool videoMode() const;

SpecOpenCameraDialogConfig(NSDictionary *const v) : _v(v) {}
private:
NSDictionary *_v;
};
}
}

@interface RCTCxxConvert (NativeImagePickerIOS_SpecOpenCameraDialogConfig)
+ (RCTManagedPointer *)JS_NativeImagePickerIOS_SpecOpenCameraDialogConfig:(id)json;
@end
namespace JS {
namespace NativeImagePickerIOS {
struct SpecOpenSelectDialogConfig {
bool showImages() const;
bool showVideos() const;

SpecOpenSelectDialogConfig(NSDictionary *const v) : _v(v) {}
private:
NSDictionary *_v;
};
}
}

@interface RCTCxxConvert (NativeImagePickerIOS_SpecOpenSelectDialogConfig)
+ (RCTManagedPointer *)JS_NativeImagePickerIOS_SpecOpenSelectDialogConfig:(id)json;
@end
@protocol NativeImagePickerIOSSpec <RCTBridgeModule, RCTTurboModule>

- (void)canRecordVideos:(RCTResponseSenderBlock)callback;
- (void)canUseCamera:(RCTResponseSenderBlock)callback;
- (void)openCameraDialog:(JS::NativeImagePickerIOS::SpecOpenCameraDialogConfig &)config
successCallback:(RCTResponseSenderBlock)successCallback
cancelCallback:(RCTResponseSenderBlock)cancelCallback;
- (void)openSelectDialog:(JS::NativeImagePickerIOS::SpecOpenSelectDialogConfig &)config
successCallback:(RCTResponseSenderBlock)successCallback
cancelCallback:(RCTResponseSenderBlock)cancelCallback;
- (void)clearAllPendingVideos;
- (void)removePendingVideo:(NSString *)url;

@end
namespace facebook {
namespace react {
/**
* ObjC++ class for module 'NativeImagePickerIOS'
*/
class JSI_EXPORT NativeImagePickerIOSSpecJSI : public ObjCTurboModule {
public:
NativeImagePickerIOSSpecJSI(const ObjCTurboModule::InitParams &params);
};
} // namespace react
} // namespace facebook

@protocol NativeImageStoreIOSSpec <RCTBridgeModule, RCTTurboModule>

Expand Down Expand Up @@ -1269,54 +1166,6 @@ namespace facebook {
};
} // namespace react
} // namespace facebook
namespace JS {
namespace NativeJSDevSupport {
struct Constants {

struct Builder {
struct Input {
RCTRequired<double> ERROR_CODE_EXCEPTION;
RCTRequired<double> ERROR_CODE_VIEW_NOT_FOUND;
};

/** Initialize with a set of values */
Builder(const Input i);
/** Initialize with an existing Constants */
Builder(Constants i);
/** Builds the object. Generally used only by the infrastructure. */
NSDictionary *buildUnsafeRawValue() const { return _factory(); };
private:
NSDictionary *(^_factory)(void);
};

static Constants fromUnsafeRawValue(NSDictionary *const v) { return {v}; }
NSDictionary *unsafeRawValue() const { return _v; }
private:
Constants(NSDictionary *const v) : _v(v) {}
NSDictionary *_v;
};
}
}
@protocol NativeJSDevSupportSpec <RCTBridgeModule, RCTTurboModule>

- (void)onSuccess:(NSString *)data;
- (void)onFailure:(double)errorCode
error:(NSString *)error;
- (facebook::react::ModuleConstants<JS::NativeJSDevSupport::Constants::Builder>)constantsToExport;
- (facebook::react::ModuleConstants<JS::NativeJSDevSupport::Constants::Builder>)getConstants;

@end
namespace facebook {
namespace react {
/**
* ObjC++ class for module 'NativeJSDevSupport'
*/
class JSI_EXPORT NativeJSDevSupportSpecJSI : public ObjCTurboModule {
public:
NativeJSDevSupportSpecJSI(const ObjCTurboModule::InitParams &params);
};
} // namespace react
} // namespace facebook

@protocol NativeKeyboardObserverSpec <RCTBridgeModule, RCTTurboModule>

Expand Down Expand Up @@ -2112,11 +1961,21 @@ inline NSString *JS::NativeAlertManager::Args::destructiveButtonKey() const
id const p = _v[@"destructiveButtonKey"];
return RCTBridgingToOptionalString(p);
}
inline NSString *JS::NativeAlertManager::Args::preferredButtonKey() const
{
id const p = _v[@"preferredButtonKey"];
return RCTBridgingToOptionalString(p);
}
inline NSString *JS::NativeAlertManager::Args::keyboardType() const
{
id const p = _v[@"keyboardType"];
return RCTBridgingToOptionalString(p);
}
inline NSString *JS::NativeAlertManager::Args::userInterfaceStyle() const
{
id const p = _v[@"userInterfaceStyle"];
return RCTBridgingToOptionalString(p);
}
inline facebook::react::LazyVector<NSString *> JS::NativeAnimatedModule::EventMapping::nativeEventPath() const
{
id const p = _v[@"nativeEventPath"];
Expand Down Expand Up @@ -2148,8 +2007,6 @@ inline JS::NativeAppState::Constants::Builder::Builder(Constants i) : _factory(^
return i.unsafeRawValue();
}) {}



inline JS::NativeBlobModule::Constants::Builder::Builder(const Input i) : _factory(^{
NSMutableDictionary *d = [NSMutableDictionary new];
auto BLOB_URI_SCHEME = i.BLOB_URI_SCHEME.get();
Expand Down Expand Up @@ -2372,40 +2229,9 @@ inline std::optional<bool> JS::NativeImageEditor::Options::allowExternalStorage(
return RCTBridgingToOptionalBool(p);
}

inline bool JS::NativeImagePickerIOS::SpecOpenCameraDialogConfig::unmirrorFrontFacingCamera() const
{
id const p = _v[@"unmirrorFrontFacingCamera"];
return RCTBridgingToBool(p);
}
inline bool JS::NativeImagePickerIOS::SpecOpenCameraDialogConfig::videoMode() const
{
id const p = _v[@"videoMode"];
return RCTBridgingToBool(p);
}
inline bool JS::NativeImagePickerIOS::SpecOpenSelectDialogConfig::showImages() const
{
id const p = _v[@"showImages"];
return RCTBridgingToBool(p);
}
inline bool JS::NativeImagePickerIOS::SpecOpenSelectDialogConfig::showVideos() const
{
id const p = _v[@"showVideos"];
return RCTBridgingToBool(p);
}



inline JS::NativeJSDevSupport::Constants::Builder::Builder(const Input i) : _factory(^{
NSMutableDictionary *d = [NSMutableDictionary new];
auto ERROR_CODE_EXCEPTION = i.ERROR_CODE_EXCEPTION.get();
d[@"ERROR_CODE_EXCEPTION"] = @(ERROR_CODE_EXCEPTION);
auto ERROR_CODE_VIEW_NOT_FOUND = i.ERROR_CODE_VIEW_NOT_FOUND.get();
d[@"ERROR_CODE_VIEW_NOT_FOUND"] = @(ERROR_CODE_VIEW_NOT_FOUND);
return d;
}) {}
inline JS::NativeJSDevSupport::Constants::Builder::Builder(Constants i) : _factory(^{
return i.unsafeRawValue();
}) {}



Expand Down
7 changes: 3 additions & 4 deletions third-party-podspecs/RCT-Folly.podspec.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "RCT-Folly",
"version": "2021.06.28.00-v2",
"version": "2021.07.22.00",
"license": {
"type": "Apache License, Version 2.0"
},
Expand All @@ -9,7 +9,7 @@
"authors": "Facebook",
"source": {
"git": "https://github.com/facebook/folly.git",
"tag": "v2021.06.28.00"
"tag": "v2021.07.22.00"
},
"module_name": "folly",
"header_mappings_dir": ".",
Expand Down Expand Up @@ -86,8 +86,7 @@
},
"default_subspecs": "Default",
"platforms": {
"ios": "9.0",
"tvos": "9.0"
"ios": "9.0"
},
"subspecs": [
{
Expand Down
4 changes: 2 additions & 2 deletions third-party-podspecs/RCTRequired.podspec.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "RCTRequired",
"version": "0.69.4",
"version": "0.71.11",
"summary": "-",
"homepage": "https://reactnative.dev/",
"license": "MIT",
Expand All @@ -10,7 +10,7 @@
},
"source": {
"git": "https://github.com/facebook/react-native.git",
"tag": "v0.69.4"
"tag": "v0.71.11"
},
"source_files": "**/*.{c,h,m,mm,cpp}",
"header_dir": "RCTRequired",
Expand Down
Loading

0 comments on commit 17e4705

Please sign in to comment.