@onekeyfe/react-native-splash-screen 3.0.85 → 3.0.87

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.
@@ -10,6 +10,7 @@ package com.margelo.nitro.reactnativesplashscreen
10
10
  import androidx.annotation.Keep
11
11
  import com.facebook.jni.HybridData
12
12
  import com.facebook.proguard.annotations.DoNotStrip
13
+ import dalvik.annotation.optimization.FastNative
13
14
  import com.margelo.nitro.core.Promise
14
15
  import com.margelo.nitro.core.HybridObject
15
16
 
@@ -47,6 +48,7 @@ abstract class HybridReactNativeSplashScreenSpec: HybridObject() {
47
48
  @Keep
48
49
  protected open class CxxPart(javaPart: HybridReactNativeSplashScreenSpec): HybridObject.CxxPart(javaPart) {
49
50
  // C++ JHybridReactNativeSplashScreenSpec::CxxPart::initHybrid(...)
51
+ @FastNative
50
52
  external override fun initHybrid(): HybridData
51
53
  }
52
54
  override fun createCxxPart(): CxxPart {
@@ -56,5 +56,7 @@ def add_nitrogen_files(spec)
56
56
  "SWIFT_OBJC_INTEROP_MODE" => "objcxx",
57
57
  # Enables stricter modular headers
58
58
  "DEFINES_MODULE" => "YES",
59
+ # Disable auto-generated ObjC header for Swift (Static linkage on Xcode 26.4 breaks here)
60
+ "SWIFT_INSTALL_OBJC_HEADER" => "NO",
59
61
  })
60
62
  end
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/react-native-splash-screen",
3
- "version": "3.0.85",
3
+ "version": "3.0.87",
4
4
  "description": "react-native-splash-screen",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",
@@ -78,12 +78,12 @@
78
78
  "eslint-plugin-prettier": "^5.5.4",
79
79
  "jest": "^29.7.0",
80
80
  "lefthook": "^2.0.3",
81
- "nitrogen": "0.35.2",
81
+ "nitrogen": "0.36.5",
82
82
  "prettier": "^2.8.8",
83
83
  "react": "19.2.0",
84
84
  "react-native": "patch:react-native@npm%3A0.83.0#~/.yarn/patches/react-native-npm-0.83.0-577d0f2d83.patch",
85
85
  "react-native-builder-bob": "^0.40.13",
86
- "react-native-nitro-modules": "0.35.2",
86
+ "react-native-nitro-modules": "0.36.5",
87
87
  "release-it": "^19.0.4",
88
88
  "turbo": "^2.5.6",
89
89
  "typescript": "^5.9.2"
@@ -91,7 +91,7 @@
91
91
  "peerDependencies": {
92
92
  "react": "*",
93
93
  "react-native": "*",
94
- "react-native-nitro-modules": "0.35.2"
94
+ "react-native-nitro-modules": "0.36.5"
95
95
  },
96
96
  "react-native-builder-bob": {
97
97
  "source": "src",