diff --git a/packages/react-native-aztec/package.json b/packages/react-native-aztec/package.json index 6a995533705d02..e88cf04dbd14b7 100644 --- a/packages/react-native-aztec/package.json +++ b/packages/react-native-aztec/package.json @@ -1,6 +1,6 @@ { "name": "@wordpress/react-native-aztec", - "version": "1.46.1", + "version": "1.46.2", "description": "Aztec view for react-native.", "private": true, "author": "The WordPress Contributors", diff --git a/packages/react-native-bridge/ios/GutenbergBridgeDelegate.swift b/packages/react-native-bridge/ios/GutenbergBridgeDelegate.swift index cf180297aff112..5f05ec115d8a27 100644 --- a/packages/react-native-bridge/ios/GutenbergBridgeDelegate.swift +++ b/packages/react-native-bridge/ios/GutenbergBridgeDelegate.swift @@ -270,5 +270,5 @@ public extension GutenbergBridgeDelegate { func gutenbergDidRequestMediaFilesFailedRetryDialog(_ mediaFiles: [[String: Any]]) { } func gutenbergDidRequestMediaFilesUploadCancelDialog(_ mediaFiles: [[String: Any]]) { } func gutenbergDidRequestMediaFilesSaveCancelDialog(_ mediaFiles: [[String: Any]]) { } - func gutenbergDidRequestMediaFilesBlockReplaceSync() {} + func gutenbergDidRequestMediaFilesBlockReplaceSync(_ mediaFiles: [[String: Any]], clientId: String) {} } diff --git a/packages/react-native-bridge/ios/RNReactNativeGutenbergBridge.m b/packages/react-native-bridge/ios/RNReactNativeGutenbergBridge.m index 0981b73bcbbbf5..5ca99e956dc7fa 100644 --- a/packages/react-native-bridge/ios/RNReactNativeGutenbergBridge.m +++ b/packages/react-native-bridge/ios/RNReactNativeGutenbergBridge.m @@ -31,6 +31,6 @@ @interface RCT_EXTERN_MODULE(RNReactNativeGutenbergBridge, NSObject) RCT_EXTERN_METHOD(setFocalPointPickerTooltipShown:(BOOL)tooltipShown) RCT_EXTERN_METHOD(actionButtonPressed:(NSString *)buttonType) RCT_EXTERN_METHOD(mediaSaveSync) -RCT_EXTERN_METHOD(mediaFilesBlockReplaceSync) +RCT_EXTERN_METHOD(mediaFilesBlockReplaceSync:(NSArray *)mediaFiles clientId:(NSString *)clientId) @end diff --git a/packages/react-native-bridge/ios/RNReactNativeGutenbergBridge.swift b/packages/react-native-bridge/ios/RNReactNativeGutenbergBridge.swift index 927f477fcd8a46..302187d23dbcc5 100644 --- a/packages/react-native-bridge/ios/RNReactNativeGutenbergBridge.swift +++ b/packages/react-native-bridge/ios/RNReactNativeGutenbergBridge.swift @@ -338,10 +338,10 @@ public class RNReactNativeGutenbergBridge: RCTEventEmitter { } @objc - func mediaFilesBlockReplaceSync() { + func mediaFilesBlockReplaceSync(_ mediaFiles: [[String: Any]], clientId: String) { DispatchQueue.main.async { if self.hasObservers { - self.delegate?.gutenbergDidRequestMediaFilesBlockReplaceSync() + self.delegate?.gutenbergDidRequestMediaFilesBlockReplaceSync(mediaFiles, clientId: clientId) } } } diff --git a/packages/react-native-bridge/package.json b/packages/react-native-bridge/package.json index 473b49cde5d612..e6abf7cc8104bd 100644 --- a/packages/react-native-bridge/package.json +++ b/packages/react-native-bridge/package.json @@ -1,6 +1,6 @@ { "name": "@wordpress/react-native-bridge", - "version": "1.46.1", + "version": "1.46.2", "description": "Native bridge library used to integrate the block editor into a native App.", "private": true, "author": "The WordPress Contributors", diff --git a/packages/react-native-editor/ios/GutenbergDemo/GutenbergViewController.swift b/packages/react-native-editor/ios/GutenbergDemo/GutenbergViewController.swift index fd303fe8b773c5..8bc821846f4162 100644 --- a/packages/react-native-editor/ios/GutenbergDemo/GutenbergViewController.swift +++ b/packages/react-native-editor/ios/GutenbergDemo/GutenbergViewController.swift @@ -233,7 +233,7 @@ extension GutenbergViewController: GutenbergBridgeDelegate { print(#function) } - func gutenbergDidRequestMediaFilesBlockReplaceSync() { + func gutenbergDidRequestMediaFilesBlockReplaceSync(_ mediaFiles: [[String: Any]], clientId: String) { print(#function) } diff --git a/packages/react-native-editor/ios/Podfile.lock b/packages/react-native-editor/ios/Podfile.lock index e20c9fc071050a..a76cba4f864550 100644 --- a/packages/react-native-editor/ios/Podfile.lock +++ b/packages/react-native-editor/ios/Podfile.lock @@ -21,7 +21,7 @@ PODS: - DoubleConversion - glog - glog (0.3.5) - - Gutenberg (1.46.1): + - Gutenberg (1.46.2): - React-Core (= 0.61.5) - React-CoreModules (= 0.61.5) - React-RCTImage (= 0.61.5) @@ -253,7 +253,7 @@ PODS: - React-Core - RNSVG (9.13.6-gb): - React-Core - - RNTAztecView (1.46.1): + - RNTAztecView (1.46.2): - React-Core - WordPress-Aztec-iOS (~> 1.19.3) - WordPress-Aztec-iOS (1.19.3) @@ -402,7 +402,7 @@ SPEC CHECKSUMS: FBReactNativeSpec: 118d0d177724c2d67f08a59136eb29ef5943ec75 Folly: 30e7936e1c45c08d884aa59369ed951a8e68cf51 glog: 1f3da668190260b06b429bb211bfbee5cd790c28 - Gutenberg: 9cf4a3dfc1bd167f786952dfdfb8667194767493 + Gutenberg: a23f82ae93a815843325fa5ad515490b5342eba9 RCTRequired: b153add4da6e7dbc44aebf93f3cf4fcae392ddf1 RCTTypeSafety: 9aa1b91d7f9310fc6eadc3cf95126ffe818af320 React: b6a59ef847b2b40bb6e0180a97d0ca716969ac78 @@ -416,9 +416,9 @@ SPEC CHECKSUMS: react-native-get-random-values: 03edb8dcc2d3f43e55aa67ea13b61b6723bbf047 react-native-keyboard-aware-scroll-view: 6cb84879bf07e4cc1caed18b11fb928e142adac6 react-native-safe-area: c9cf765aa2dd96159476a99633e7d462ce5bb94f - react-native-safe-area-context: c8da723dcddabe15afe95c9d31c56a0cf2b0141c + react-native-safe-area-context: 133d77d86b13cf694e014ab03dc2944ee3125d97 react-native-slider: 2e42dc91e7ab8b35a9c7f2eb3532729a41d0dbe2 - react-native-video: b8767f54061e475ddd38c22375f46f4d93e5fdfd + react-native-video: e5dd0649534076cd6d09a0db51c617fa668d534a React-RCTActionSheet: 600b4d10e3aea0913b5a92256d2719c0cdd26d76 React-RCTAnimation: 791a87558389c80908ed06cc5dfc5e7920dfa360 React-RCTBlob: d89293cc0236d9cb0933d85e430b0bbe81ad1d72 @@ -430,12 +430,12 @@ SPEC CHECKSUMS: React-RCTVibration: a49a1f42bf8f5acf1c3e297097517c6b3af377ad ReactCommon: 198c7c8d3591f975e5431bec1b0b3b581aa1c5dd ReactNativeDarkMode: 6d807bc8373b872472c8541fc3341817d979a6fb - RNCMaskedView: 66caacf33c86eaa7d22b43178dd998257d5c2e4d + RNCMaskedView: dfeba59697c44d36abec79c062aeb1ea343d610d RNGestureHandler: 7a377d0580c9f07df99e590bbcefd616ee0e2626 RNReanimated: f05baf4cd76b6eab2e4d7e2b244424960b968918 RNScreens: 953633729a42e23ad0c93574d676b361e3335e8b RNSVG: 46c4b680fe18237fa01eb7d7b311d77618fde31f - RNTAztecView: 6e45c8ce1692c9e9b0f34d00a4fa8c2752b25c11 + RNTAztecView: 35d93bff822cb3d81720788b1c36ee0f3c2c6970 WordPress-Aztec-iOS: b7ac8b30f746992e85d9668453ac87c2cdcecf4f Yoga: f2a7cd4280bfe2cca5a7aed98ba0eb3d1310f18b diff --git a/packages/react-native-editor/package.json b/packages/react-native-editor/package.json index 65f1cd7516bd13..a47622a684c1ed 100644 --- a/packages/react-native-editor/package.json +++ b/packages/react-native-editor/package.json @@ -1,6 +1,6 @@ { "name": "@wordpress/react-native-editor", - "version": "1.46.1", + "version": "1.46.2", "description": "Mobile WordPress gutenberg editor.", "author": "The WordPress Contributors", "license": "GPL-2.0-or-later",