react-native-macos 0.72.13 → 0.72.15

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.
Files changed (70) hide show
  1. package/Libraries/ActionSheetIOS/React-RCTActionSheet.podspec +1 -1
  2. package/Libraries/AppDelegate/React-RCTAppDelegate.podspec +1 -1
  3. package/Libraries/Blob/React-RCTBlob.podspec +1 -1
  4. package/Libraries/Core/ReactNativeVersion.js +1 -1
  5. package/Libraries/FBLazyVector/FBLazyVector.podspec +1 -1
  6. package/Libraries/Image/React-RCTImage.podspec +1 -1
  7. package/Libraries/LinkingIOS/React-RCTLinking.podspec +1 -1
  8. package/Libraries/NativeAnimation/React-RCTAnimation.podspec +1 -1
  9. package/Libraries/Network/React-RCTNetwork.podspec +1 -1
  10. package/Libraries/PushNotificationIOS/NativePushNotificationManagerIOS.js +33 -5
  11. package/Libraries/PushNotificationIOS/RCTPushNotificationManager.h +0 -3
  12. package/Libraries/PushNotificationIOS/RCTPushNotificationManager.mm +181 -244
  13. package/Libraries/PushNotificationIOS/React-RCTPushNotification.podspec +1 -1
  14. package/Libraries/RCTRequired/RCTRequired.podspec +1 -1
  15. package/Libraries/Settings/React-RCTSettings.podspec +1 -1
  16. package/Libraries/Text/React-RCTText.podspec +1 -1
  17. package/Libraries/Text/Text/RCTTextView.m +22 -3
  18. package/Libraries/TypeSafety/RCTTypeSafety.podspec +1 -1
  19. package/Libraries/Vibration/React-RCTVibration.podspec +1 -1
  20. package/React/Base/RCTUtils.m +16 -10
  21. package/React/Base/RCTVersion.m +1 -1
  22. package/React/CoreModules/RCTAlertController.m +1 -24
  23. package/React/CoreModules/RCTDevLoadingView.mm +7 -6
  24. package/React/CoreModules/React-CoreModules.podspec +1 -1
  25. package/React/FBReactNativeSpec/FBReactNativeSpec.podspec +1 -1
  26. package/React/Fabric/Mounting/ComponentViews/Text/RCTParagraphComponentView.mm +26 -1
  27. package/React/Fabric/Mounting/ComponentViews/View/RCTViewComponentView.mm +1 -1
  28. package/React/React-RCTFabric.podspec +1 -1
  29. package/React/UIUtils/RCTUIUtils.m +1 -2
  30. package/React/Views/RCTViewManager.m +1 -1
  31. package/React-Core.podspec +1 -1
  32. package/React.podspec +1 -1
  33. package/ReactAndroid/gradle.properties +1 -1
  34. package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +1 -1
  35. package/ReactCommon/React-Fabric.podspec +1 -1
  36. package/ReactCommon/React-rncore.podspec +1 -1
  37. package/ReactCommon/ReactCommon.podspec +1 -1
  38. package/ReactCommon/callinvoker/React-callinvoker.podspec +1 -1
  39. package/ReactCommon/cxxreact/React-cxxreact.podspec +1 -1
  40. package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
  41. package/ReactCommon/hermes/React-hermes.podspec +1 -1
  42. package/ReactCommon/jsc/React-jsc.podspec +1 -1
  43. package/ReactCommon/jsi/React-jsi.podspec +1 -1
  44. package/ReactCommon/jsiexecutor/React-jsiexecutor.podspec +1 -1
  45. package/ReactCommon/jsinspector/React-jsinspector.podspec +1 -1
  46. package/ReactCommon/logger/React-logger.podspec +1 -1
  47. package/ReactCommon/react/bridging/Base.h +2 -3
  48. package/ReactCommon/react/bridging/Function.h +7 -10
  49. package/ReactCommon/react/debug/React-debug.podspec +1 -1
  50. package/ReactCommon/react/nativemodule/core/platform/android/ReactCommon/JavaTurboModule.cpp +0 -1
  51. package/ReactCommon/react/nativemodule/core/platform/ios/React-NativeModulesApple.podspec +1 -1
  52. package/ReactCommon/react/nativemodule/samples/ReactCommon-Samples.podspec +1 -1
  53. package/ReactCommon/react/renderer/graphics/React-graphics.podspec +1 -1
  54. package/ReactCommon/react/renderer/imagemanager/platform/ios/React-ImageManager.podspec +1 -1
  55. package/ReactCommon/react/renderer/runtimescheduler/React-runtimescheduler.podspec +1 -1
  56. package/ReactCommon/react/utils/React-utils.podspec +1 -1
  57. package/ReactCommon/reactperflogger/React-perflogger.podspec +1 -1
  58. package/ReactCommon/runtimeexecutor/React-runtimeexecutor.podspec +1 -1
  59. package/ReactCommon/yoga/Yoga.podspec +1 -1
  60. package/package.json +1 -1
  61. package/scripts/cocoapods/codegen_utils.rb +1 -4
  62. package/scripts/cocoapods/helpers.rb +10 -0
  63. package/scripts/cocoapods/utils.rb +3 -1
  64. package/scripts/react_native_pods.rb +18 -3
  65. package/template/package.json +1 -1
  66. package/third-party-podspecs/DoubleConversion.podspec +1 -1
  67. package/third-party-podspecs/RCT-Folly.podspec +1 -1
  68. package/third-party-podspecs/boost.podspec +3 -2
  69. package/third-party-podspecs/glog.podspec +1 -1
  70. package/ReactCommon/butter/function.h +0 -51
@@ -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 = { :ios => "12.4", :osx => "10.15" } # [macOS]
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 = { :ios => "12.4", :osx => "10.15" } # [macOS]
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 = { :ios => "12.4", :osx => "10.15" } # [macOS]
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}"
@@ -12,6 +12,6 @@
12
12
  exports.version = {
13
13
  major: 0,
14
14
  minor: 72,
15
- patch: 13,
15
+ patch: 15,
16
16
  prerelease: null,
17
17
  };
@@ -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 = { :ios => "12.4", :osx => "10.15" } # [macOS]
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 = { :ios => "12.4", :osx => "10.15" } # [macOS]
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 = { :ios => "12.4", :osx => "10.15" } # [macOS]
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 = { :ios => "12.4", :osx => "10.15" } # [macOS]
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 = { :ios => "12.4", :osx => "10.15" } # [macOS]
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
- // Actual type: 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute'
30
- +repeatInterval?: ?string,
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]