react-native-reanimated 3.16.0 → 3.16.1

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 (56) hide show
  1. package/RNReanimated.podspec +12 -2
  2. package/lib/module/platform-specific/jsVersion.js +1 -1
  3. package/lib/typescript/platform-specific/jsVersion.d.ts +1 -1
  4. package/package.json +1 -1
  5. package/scripts/reanimated_utils.rb +5 -2
  6. package/src/platform-specific/jsVersion.ts +1 -1
  7. /package/apple/reanimated/{Fabric → apple/Fabric}/REAInitializerRCTFabricSurface.h +0 -0
  8. /package/apple/reanimated/{Fabric → apple/Fabric}/REAInitializerRCTFabricSurface.mm +0 -0
  9. /package/apple/reanimated/{LayoutReanimation → apple/LayoutReanimation}/REAAnimationsManager.h +0 -0
  10. /package/apple/reanimated/{LayoutReanimation → apple/LayoutReanimation}/REAAnimationsManager.m +0 -0
  11. /package/apple/reanimated/{LayoutReanimation → apple/LayoutReanimation}/REAFrame.h +0 -0
  12. /package/apple/reanimated/{LayoutReanimation → apple/LayoutReanimation}/REAFrame.m +0 -0
  13. /package/apple/reanimated/{LayoutReanimation → apple/LayoutReanimation}/REAScreensHelper.h +0 -0
  14. /package/apple/reanimated/{LayoutReanimation → apple/LayoutReanimation}/REAScreensHelper.m +0 -0
  15. /package/apple/reanimated/{LayoutReanimation → apple/LayoutReanimation}/REASharedElement.h +0 -0
  16. /package/apple/reanimated/{LayoutReanimation → apple/LayoutReanimation}/REASharedElement.m +0 -0
  17. /package/apple/reanimated/{LayoutReanimation → apple/LayoutReanimation}/REASharedTransitionManager.h +0 -0
  18. /package/apple/reanimated/{LayoutReanimation → apple/LayoutReanimation}/REASharedTransitionManager.m +0 -0
  19. /package/apple/reanimated/{LayoutReanimation → apple/LayoutReanimation}/REASnapshot.h +0 -0
  20. /package/apple/reanimated/{LayoutReanimation → apple/LayoutReanimation}/REASnapshot.m +0 -0
  21. /package/apple/reanimated/{LayoutReanimation → apple/LayoutReanimation}/REASwizzledUIManager.h +0 -0
  22. /package/apple/reanimated/{LayoutReanimation → apple/LayoutReanimation}/REASwizzledUIManager.mm +0 -0
  23. /package/apple/reanimated/{RCTEventDispatcher+Reanimated.h → apple/RCTEventDispatcher+Reanimated.h} +0 -0
  24. /package/apple/reanimated/{RCTEventDispatcher+Reanimated.m → apple/RCTEventDispatcher+Reanimated.m} +0 -0
  25. /package/apple/reanimated/{RCTUIView+Reanimated.h → apple/RCTUIView+Reanimated.h} +0 -0
  26. /package/apple/reanimated/{RCTUIView+Reanimated.m → apple/RCTUIView+Reanimated.m} +0 -0
  27. /package/apple/reanimated/{READisplayLink.h → apple/READisplayLink.h} +0 -0
  28. /package/apple/reanimated/{REAModule.h → apple/REAModule.h} +0 -0
  29. /package/apple/reanimated/{REAModule.mm → apple/REAModule.mm} +0 -0
  30. /package/apple/reanimated/{REANodesManager.h → apple/REANodesManager.h} +0 -0
  31. /package/apple/reanimated/{REANodesManager.mm → apple/REANodesManager.mm} +0 -0
  32. /package/apple/reanimated/{REASlowAnimations.h → apple/REASlowAnimations.h} +0 -0
  33. /package/apple/reanimated/{REASlowAnimations.mm → apple/REASlowAnimations.mm} +0 -0
  34. /package/apple/reanimated/{REAUIKit.h → apple/REAUIKit.h} +0 -0
  35. /package/apple/reanimated/{REAUtils.h → apple/REAUtils.h} +0 -0
  36. /package/apple/reanimated/{REAUtils.m → apple/REAUtils.m} +0 -0
  37. /package/apple/reanimated/{RNGestureHandlerStateManager.h → apple/RNGestureHandlerStateManager.h} +0 -0
  38. /package/apple/reanimated/{keyboardObserver → apple/keyboardObserver}/REAKeyboardEventObserver.h +0 -0
  39. /package/apple/reanimated/{keyboardObserver → apple/keyboardObserver}/REAKeyboardEventObserver.mm +0 -0
  40. /package/apple/reanimated/{native → apple/native}/NativeMethods.h +0 -0
  41. /package/apple/reanimated/{native → apple/native}/NativeMethods.mm +0 -0
  42. /package/apple/reanimated/{native → apple/native}/NativeProxy.h +0 -0
  43. /package/apple/reanimated/{native → apple/native}/NativeProxy.mm +0 -0
  44. /package/apple/reanimated/{native → apple/native}/PlatformDepMethodsHolderImpl.h +0 -0
  45. /package/apple/reanimated/{native → apple/native}/PlatformDepMethodsHolderImpl.mm +0 -0
  46. /package/apple/reanimated/{native → apple/native}/PlatformLogger.mm +0 -0
  47. /package/apple/reanimated/{native → apple/native}/REAIOSUIScheduler.h +0 -0
  48. /package/apple/reanimated/{native → apple/native}/REAIOSUIScheduler.mm +0 -0
  49. /package/apple/reanimated/{native → apple/native}/REAJSIUtils.h +0 -0
  50. /package/apple/reanimated/{native → apple/native}/REAMessageThread.h +0 -0
  51. /package/apple/reanimated/{native → apple/native}/REAMessageThread.mm +0 -0
  52. /package/apple/reanimated/{sensor → apple/sensor}/ReanimatedSensor.h +0 -0
  53. /package/apple/reanimated/{sensor → apple/sensor}/ReanimatedSensor.m +0 -0
  54. /package/apple/reanimated/{sensor → apple/sensor}/ReanimatedSensorContainer.h +0 -0
  55. /package/apple/reanimated/{sensor → apple/sensor}/ReanimatedSensorContainer.m +0 -0
  56. /package/apple/reanimated/{sensor → apple/sensor}/ReanimatedSensorType.h +0 -0
@@ -89,7 +89,7 @@ Pod::Spec.new do |s|
89
89
 
90
90
  ss.subspec "apple" do |sss|
91
91
  sss.source_files = "apple/reanimated/**/*.{mm,h,m}"
92
- sss.header_dir = "reanimated/apple"
92
+ sss.header_dir = "reanimated"
93
93
  sss.header_mappings_dir = "apple/reanimated"
94
94
  end
95
95
  end
@@ -116,7 +116,17 @@ Pod::Spec.new do |s|
116
116
  }
117
117
  s.compiler_flags = "#{folly_compiler_flags} #{boost_compiler_flags}"
118
118
  s.xcconfig = {
119
- "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/glog\" \"$(PODS_ROOT)/RCT-Folly\" \"$(PODS_ROOT)/Headers/Public/React-hermes\" \"$(PODS_ROOT)/Headers/Public/hermes-engine\" \"$(PODS_ROOT)/#{$config[:react_native_common_dir]}\"",
119
+ "HEADER_SEARCH_PATHS" => [
120
+ '"$(PODS_ROOT)/boost"',
121
+ '"$(PODS_ROOT)/boost-for-react-native"',
122
+ '"$(PODS_ROOT)/glog"',
123
+ '"$(PODS_ROOT)/RCT-Folly"',
124
+ '"$(PODS_ROOT)/Headers/Public/React-hermes"',
125
+ '"$(PODS_ROOT)/Headers/Public/hermes-engine"',
126
+ "\"$(PODS_ROOT)/#{$config[:react_native_common_dir]}\"",
127
+ "\"$(PODS_ROOT)/#{$config[:react_native_reanimated_dir_from_pods_root]}/apple\"",
128
+ "\"$(PODS_ROOT)/#{$config[:react_native_reanimated_dir_from_pods_root]}/Common/cpp\"",
129
+ ].join(' '),
120
130
  "OTHER_CFLAGS" => "$(inherited) #{folly_flags} #{fabric_flags} #{example_flag} #{version_flag} #{debug_flag} #{compilation_metadata_generation_flag}"
121
131
  }
122
132
  s.requires_arc = true
@@ -5,5 +5,5 @@
5
5
  * version used to build the native part of the library in runtime. Remember to
6
6
  * keep this in sync with the version declared in `package.json`
7
7
  */
8
- export const jsVersion = '3.16.0';
8
+ export const jsVersion = '3.16.1';
9
9
  //# sourceMappingURL=jsVersion.js.map
@@ -3,5 +3,5 @@
3
3
  * version used to build the native part of the library in runtime. Remember to
4
4
  * keep this in sync with the version declared in `package.json`
5
5
  */
6
- export declare const jsVersion = "3.16.0";
6
+ export declare const jsVersion = "3.16.1";
7
7
  //# sourceMappingURL=jsVersion.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-reanimated",
3
- "version": "3.16.0",
3
+ "version": "3.16.1",
4
4
  "description": "More powerful alternative to Animated library for React Native.",
5
5
  "scripts": {
6
6
  "test": "jest",
@@ -13,8 +13,8 @@ def find_config()
13
13
  :react_native_minor_version => nil,
14
14
  :is_tvos_target => nil,
15
15
  :react_native_node_modules_dir => nil,
16
- :reanimated_node_modules_dir => nil,
17
16
  :react_native_common_dir => nil,
17
+ :react_native_reanimated_dir_from_pods_root => nil,
18
18
  }
19
19
 
20
20
  react_native_node_modules_dir = File.join(File.dirname(`cd "#{Pod::Config.instance.installation_root.to_s}" && node --print "require.resolve('react-native/package.json')"`), '..')
@@ -38,13 +38,16 @@ def find_config()
38
38
  result[:react_native_minor_version] = 1000
39
39
  end
40
40
  result[:react_native_node_modules_dir] = File.expand_path(react_native_node_modules_dir)
41
- result[:reanimated_node_modules_dir] = File.expand_path(File.join(__dir__, '..', '..'))
42
41
 
43
42
  pods_root = Pod::Config.instance.project_pods_root
44
43
  react_native_common_dir_absolute = File.join(react_native_node_modules_dir, 'react-native', 'ReactCommon')
45
44
  react_native_common_dir_relative = Pathname.new(react_native_common_dir_absolute).relative_path_from(pods_root).to_s
46
45
  result[:react_native_common_dir] = react_native_common_dir_relative
47
46
 
47
+ react_native_reanimated_dir_absolute = File.join(__dir__, '..')
48
+ react_native_reanimated_dir_relative = Pathname.new(react_native_reanimated_dir_absolute).relative_path_from(pods_root).to_s
49
+ result[:react_native_reanimated_dir_from_pods_root] = react_native_reanimated_dir_relative
50
+
48
51
  return result
49
52
  end
50
53
 
@@ -4,4 +4,4 @@
4
4
  * version used to build the native part of the library in runtime. Remember to
5
5
  * keep this in sync with the version declared in `package.json`
6
6
  */
7
- export const jsVersion = '3.16.0';
7
+ export const jsVersion = '3.16.1';