react-native-stallion 2.3.0 → 2.3.2

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.
@@ -103,11 +103,3 @@ dependencies {
103
103
  //noinspection GradleDynamicVersion
104
104
  implementation "com.facebook.react:react-native:+"
105
105
  }
106
-
107
- if (isNewArchitectureEnabled()) {
108
- react {
109
- jsRootDir = file("../src/")
110
- libraryName = "Stallion"
111
- codegenJavaPackageName = "com.stallion"
112
- }
113
- }
@@ -17,3 +17,9 @@ target_link_libraries(
17
17
  stallion-crash
18
18
  ${log-lib}
19
19
  )
20
+
21
+ # Fix for 16KB page size compatibility (required for Android 15+)
22
+ # This ensures LOAD segments are aligned at 16KB boundaries
23
+ set_target_properties(stallion-crash PROPERTIES
24
+ LINK_FLAGS "-Wl,-z,max-page-size=16384"
25
+ )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-stallion",
3
- "version": "2.3.0",
3
+ "version": "2.3.2",
4
4
  "description": "Offical React Native SDK for Stallion",
5
5
  "main": "index",
6
6
  "types": "types/index.d.ts",
@@ -50,18 +50,22 @@ Pod::Spec.new do |s|
50
50
  s.dependency "ZIPFoundation"
51
51
  end
52
52
 
53
- # Don't install the dependencies when we run `pod install` in the old architecture.
54
- if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
55
- s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1"
56
- s.pod_target_xcconfig = {
57
- "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\"",
58
- "OTHER_CPLUSPLUSFLAGS" => "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1",
59
- "CLANG_CXX_LANGUAGE_STANDARD" => "c++17"
60
- }
61
- s.dependency "React-Codegen"
62
- s.dependency "RCT-Folly"
63
- s.dependency "RCTRequired"
64
- s.dependency "RCTTypeSafety"
65
- s.dependency "ReactCommon/turbomodule/core"
53
+ if respond_to?(:install_modules_dependencies, true)
54
+ install_modules_dependencies(s)
55
+ else
56
+ # Don't install the dependencies when we run `pod install` in the old architecture.
57
+ if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
58
+ s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1"
59
+ s.pod_target_xcconfig = {
60
+ "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\"",
61
+ "OTHER_CPLUSPLUSFLAGS" => "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1",
62
+ "CLANG_CXX_LANGUAGE_STANDARD" => "c++17"
63
+ }
64
+ s.dependency "React-Codegen"
65
+ s.dependency "RCT-Folly"
66
+ s.dependency "RCTRequired"
67
+ s.dependency "RCTTypeSafety"
68
+ s.dependency "ReactCommon/turbomodule/core"
69
+ end
66
70
  end
67
71
  end