react-native-macos 0.72.13 → 0.72.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Libraries/ActionSheetIOS/React-RCTActionSheet.podspec +1 -1
- package/Libraries/AppDelegate/React-RCTAppDelegate.podspec +1 -1
- package/Libraries/Blob/React-RCTBlob.podspec +1 -1
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/Libraries/FBLazyVector/FBLazyVector.podspec +1 -1
- package/Libraries/Image/React-RCTImage.podspec +1 -1
- package/Libraries/LinkingIOS/React-RCTLinking.podspec +1 -1
- package/Libraries/NativeAnimation/React-RCTAnimation.podspec +1 -1
- package/Libraries/Network/React-RCTNetwork.podspec +1 -1
- package/Libraries/PushNotificationIOS/NativePushNotificationManagerIOS.js +33 -5
- package/Libraries/PushNotificationIOS/RCTPushNotificationManager.h +0 -3
- package/Libraries/PushNotificationIOS/RCTPushNotificationManager.mm +181 -244
- package/Libraries/PushNotificationIOS/React-RCTPushNotification.podspec +1 -1
- package/Libraries/RCTRequired/RCTRequired.podspec +1 -1
- package/Libraries/Settings/React-RCTSettings.podspec +1 -1
- package/Libraries/Text/React-RCTText.podspec +1 -1
- package/Libraries/Text/Text/RCTTextView.m +22 -3
- package/Libraries/TypeSafety/RCTTypeSafety.podspec +1 -1
- package/Libraries/Vibration/React-RCTVibration.podspec +1 -1
- package/React/Base/RCTUtils.m +16 -10
- package/React/Base/RCTVersion.m +1 -1
- package/React/CoreModules/RCTAlertController.m +1 -24
- package/React/CoreModules/RCTDevLoadingView.mm +7 -6
- package/React/CoreModules/React-CoreModules.podspec +1 -1
- package/React/FBReactNativeSpec/FBReactNativeSpec.podspec +1 -1
- package/React/Fabric/Mounting/ComponentViews/Text/RCTParagraphComponentView.mm +26 -1
- package/React/Fabric/Mounting/ComponentViews/View/RCTViewComponentView.mm +1 -1
- package/React/React-RCTFabric.podspec +1 -1
- package/React/UIUtils/RCTUIUtils.m +1 -2
- package/React/Views/RCTViewManager.m +1 -1
- package/React-Core.podspec +1 -1
- package/React.podspec +1 -1
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +1 -1
- package/ReactCommon/React-Fabric.podspec +1 -1
- package/ReactCommon/React-rncore.podspec +1 -1
- package/ReactCommon/ReactCommon.podspec +1 -1
- package/ReactCommon/callinvoker/React-callinvoker.podspec +1 -1
- package/ReactCommon/cxxreact/React-cxxreact.podspec +1 -1
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/ReactCommon/hermes/React-hermes.podspec +1 -1
- package/ReactCommon/jsc/React-jsc.podspec +1 -1
- package/ReactCommon/jsi/React-jsi.podspec +1 -1
- package/ReactCommon/jsiexecutor/React-jsiexecutor.podspec +1 -1
- package/ReactCommon/jsinspector/React-jsinspector.podspec +1 -1
- package/ReactCommon/logger/React-logger.podspec +1 -1
- package/ReactCommon/react/debug/React-debug.podspec +1 -1
- package/ReactCommon/react/nativemodule/core/platform/ios/React-NativeModulesApple.podspec +1 -1
- package/ReactCommon/react/nativemodule/samples/ReactCommon-Samples.podspec +1 -1
- package/ReactCommon/react/renderer/graphics/React-graphics.podspec +1 -1
- package/ReactCommon/react/renderer/imagemanager/platform/ios/React-ImageManager.podspec +1 -1
- package/ReactCommon/react/renderer/runtimescheduler/React-runtimescheduler.podspec +1 -1
- package/ReactCommon/react/utils/React-utils.podspec +1 -1
- package/ReactCommon/reactperflogger/React-perflogger.podspec +1 -1
- package/ReactCommon/runtimeexecutor/React-runtimeexecutor.podspec +1 -1
- package/ReactCommon/yoga/Yoga.podspec +1 -1
- package/package.json +1 -1
- package/scripts/cocoapods/codegen_utils.rb +1 -4
- package/scripts/cocoapods/helpers.rb +5 -0
- package/scripts/cocoapods/utils.rb +2 -1
- package/scripts/react_native_pods.rb +12 -3
- package/template/package.json +1 -1
- package/third-party-podspecs/DoubleConversion.podspec +1 -1
- package/third-party-podspecs/RCT-Folly.podspec +1 -1
- package/third-party-podspecs/boost.podspec +3 -2
- package/third-party-podspecs/glog.podspec +1 -1
|
@@ -24,7 +24,7 @@ Pod::Spec.new do |s|
|
|
|
24
24
|
s.documentation_url = "https://reactnative.dev/docs/actionsheetios"
|
|
25
25
|
s.license = package["license"]
|
|
26
26
|
s.author = "Meta Platforms, Inc. and its affiliates"
|
|
27
|
-
s.platforms =
|
|
27
|
+
s.platforms = min_supported_versions
|
|
28
28
|
s.source = source
|
|
29
29
|
s.source_files = "*.{m}"
|
|
30
30
|
s.preserve_paths = "package.json", "LICENSE", "LICENSE-docs"
|
|
@@ -60,7 +60,7 @@ Pod::Spec.new do |s|
|
|
|
60
60
|
s.documentation_url = "https://reactnative.dev/docs/actionsheetios"
|
|
61
61
|
s.license = package["license"]
|
|
62
62
|
s.author = "Meta Platforms, Inc. and its affiliates"
|
|
63
|
-
s.platforms =
|
|
63
|
+
s.platforms = min_supported_versions
|
|
64
64
|
s.source = source
|
|
65
65
|
s.source_files = "**/*.{c,h,m,mm,S,cpp}"
|
|
66
66
|
|
|
@@ -39,7 +39,7 @@ Pod::Spec.new do |s|
|
|
|
39
39
|
s.homepage = "https://reactnative.dev/"
|
|
40
40
|
s.license = package["license"]
|
|
41
41
|
s.author = "Meta Platforms, Inc. and its affiliates"
|
|
42
|
-
s.platforms =
|
|
42
|
+
s.platforms = min_supported_versions
|
|
43
43
|
s.compiler_flags = folly_compiler_flags + ' -Wno-nullability-completeness'
|
|
44
44
|
s.source = source
|
|
45
45
|
s.source_files = "*.{h,m,mm}"
|
|
@@ -23,7 +23,7 @@ Pod::Spec.new do |s|
|
|
|
23
23
|
s.homepage = "https://reactnative.dev/"
|
|
24
24
|
s.license = package["license"]
|
|
25
25
|
s.author = "Meta Platforms, Inc. and its affiliates"
|
|
26
|
-
s.platforms =
|
|
26
|
+
s.platforms = min_supported_versions
|
|
27
27
|
s.source = source
|
|
28
28
|
s.source_files = "**/*.{c,h,m,mm,cpp}"
|
|
29
29
|
s.header_dir = "FBLazyVector"
|
|
@@ -40,7 +40,7 @@ Pod::Spec.new do |s|
|
|
|
40
40
|
s.documentation_url = "https://reactnative.dev/docs/image"
|
|
41
41
|
s.license = package["license"]
|
|
42
42
|
s.author = "Meta Platforms, Inc. and its affiliates"
|
|
43
|
-
s.platforms =
|
|
43
|
+
s.platforms = min_supported_versions
|
|
44
44
|
s.compiler_flags = folly_compiler_flags + ' -Wno-nullability-completeness'
|
|
45
45
|
s.source = source
|
|
46
46
|
s.source_files = "*.{m,mm}"
|
|
@@ -43,7 +43,7 @@ Pod::Spec.new do |s|
|
|
|
43
43
|
s.documentation_url = "https://reactnative.dev/docs/linking"
|
|
44
44
|
s.license = package["license"]
|
|
45
45
|
s.author = "Meta Platforms, Inc. and its affiliates"
|
|
46
|
-
s.platforms =
|
|
46
|
+
s.platforms = min_supported_versions
|
|
47
47
|
s.compiler_flags = folly_compiler_flags + ' -Wno-nullability-completeness'
|
|
48
48
|
s.source = source
|
|
49
49
|
s.source_files = "*.{m,mm}"
|
|
@@ -39,7 +39,7 @@ Pod::Spec.new do |s|
|
|
|
39
39
|
s.homepage = "https://reactnative.dev/"
|
|
40
40
|
s.license = package["license"]
|
|
41
41
|
s.author = "Meta Platforms, Inc. and its affiliates"
|
|
42
|
-
s.platforms =
|
|
42
|
+
s.platforms = min_supported_versions
|
|
43
43
|
s.compiler_flags = folly_compiler_flags + ' -Wno-nullability-completeness'
|
|
44
44
|
s.source = source
|
|
45
45
|
s.source_files = "**/*.{h,m,mm}"
|
|
@@ -43,7 +43,7 @@ Pod::Spec.new do |s|
|
|
|
43
43
|
s.homepage = "https://reactnative.dev/"
|
|
44
44
|
s.license = package["license"]
|
|
45
45
|
s.author = "Meta Platforms, Inc. and its affiliates"
|
|
46
|
-
s.platforms =
|
|
46
|
+
s.platforms = min_supported_versions
|
|
47
47
|
s.compiler_flags = folly_compiler_flags + ' -Wno-nullability-completeness'
|
|
48
48
|
s.source = source
|
|
49
49
|
s.source_files = "*.{m,mm}"
|
|
@@ -20,17 +20,45 @@ type Permissions = {|
|
|
|
20
20
|
|
|
21
21
|
type Notification = {|
|
|
22
22
|
+alertTitle?: ?string,
|
|
23
|
-
// Actual type: string | number
|
|
24
|
-
+fireDate?: ?number,
|
|
25
23
|
+alertBody?: ?string,
|
|
26
|
-
+alertAction?: ?string,
|
|
27
24
|
+userInfo?: ?Object,
|
|
25
|
+
/**
|
|
26
|
+
* Identifier for the notification category. See the [Apple documentation](https://developer.apple.com/documentation/usernotifications/declaring_your_actionable_notification_types)
|
|
27
|
+
* for more details.
|
|
28
|
+
*/
|
|
28
29
|
+category?: ?string,
|
|
29
|
-
|
|
30
|
-
|
|
30
|
+
/**
|
|
31
|
+
* Actual type: string | number
|
|
32
|
+
*
|
|
33
|
+
* Schedule notifications using EITHER `fireDate` or `fireIntervalSeconds`.
|
|
34
|
+
* If both are specified, `fireDate` takes precedence.
|
|
35
|
+
* If you use `presentLocalNotification`, both will be ignored
|
|
36
|
+
* and the notification will be shown immediately.
|
|
37
|
+
*/
|
|
38
|
+
+fireDate?: ?number,
|
|
39
|
+
/**
|
|
40
|
+
* Seconds from now to display the notification.
|
|
41
|
+
*
|
|
42
|
+
* Schedule notifications using EITHER `fireDate` or `fireIntervalSeconds`.
|
|
43
|
+
* If both are specified, `fireDate` takes precedence.
|
|
44
|
+
* If you use `presentLocalNotification`, both will be ignored
|
|
45
|
+
* and the notification will be shown immediately.
|
|
46
|
+
*/
|
|
47
|
+
+fireIntervalSeconds?: ?number,
|
|
48
|
+
/** Badge count to display on the app icon. */
|
|
31
49
|
+applicationIconBadgeNumber?: ?number,
|
|
50
|
+
/** Whether to silence the notification sound. */
|
|
32
51
|
+isSilent?: ?boolean,
|
|
52
|
+
/**
|
|
53
|
+
* Custom notification sound to play. Write-only: soundName will be null when
|
|
54
|
+
* accessing already created notifications using getScheduledLocalNotifications
|
|
55
|
+
* or getDeliveredNotifications.
|
|
56
|
+
*/
|
|
33
57
|
+soundName?: ?string,
|
|
58
|
+
/** DEPRECATED. This was used for iOS's legacy UILocalNotification. */
|
|
59
|
+
+alertAction?: ?string,
|
|
60
|
+
/** DEPRECATED. Use `fireDate` or `fireIntervalSeconds` instead. */
|
|
61
|
+
+repeatInterval?: ?string,
|
|
34
62
|
|};
|
|
35
63
|
|
|
36
64
|
export interface Spec extends TurboModule {
|
|
@@ -16,9 +16,6 @@ typedef void (^RCTRemoteNotificationCallback)(UIBackgroundFetchResult result);
|
|
|
16
16
|
#endif // [macOS]
|
|
17
17
|
|
|
18
18
|
#if !TARGET_OS_UIKITFORMAC
|
|
19
|
-
#if !TARGET_OS_OSX // [macOS]
|
|
20
|
-
+ (void)didRegisterUserNotificationSettings:(UIUserNotificationSettings *)notificationSettings;
|
|
21
|
-
#endif // [macOS]
|
|
22
19
|
+ (void)didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken;
|
|
23
20
|
+ (void)didReceiveRemoteNotification:(NSDictionary *)notification;
|
|
24
21
|
#if !TARGET_OS_OSX // [macOS]
|