@onekeyfe/react-native-splash-screen 3.0.179-alpha.303 → 3.0.179-alpha.304

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 (2) hide show
  1. package/README.md +12 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -37,6 +37,18 @@ that the first application frame is ready or that launch performance improved.
37
37
  The exported interface is in
38
38
  [src/ReactNativeSplashScreen.nitro.ts](src/ReactNativeSplashScreen.nitro.ts).
39
39
 
40
+ ## Coordinating application readiness
41
+
42
+ Retention and hiding are independent asynchronous operations; await their
43
+ promises when ordering matters in the application's startup flow. The module
44
+ provides no readiness event or automatic coupling to navigation, data loading
45
+ or the first JavaScript render.
46
+
47
+ The named export is created through Nitro when imported, so a matching native
48
+ registration is required. Use the exported `ReactNativeSplashScreen` interface
49
+ as an `import type` in adapters that must avoid native initialization until the
50
+ application's startup path loads the implementation.
51
+
40
52
  ## Upstream attribution
41
53
 
42
54
  First, a sincere thank-you to Crazycodeboy and the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/react-native-splash-screen",
3
- "version": "3.0.179-alpha.303",
3
+ "version": "3.0.179-alpha.304",
4
4
  "description": "react-native-splash-screen",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",