react-native-bootsplash 4.0.0-beta.2 → 4.0.0-beta.3

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.
package/README.md CHANGED
@@ -294,7 +294,7 @@ public class MainActivity extends ReactActivity {
294
294
 
295
295
  @Override
296
296
  protected void loadApp(String appKey) {
297
- RNBootSplash.init(R.drawable.bootsplash, MainActivity.this); // <- initialize the splash screen
297
+ RNBootSplash.init(MainActivity.this); // <- initialize the splash screen
298
298
  super.loadApp(appKey);
299
299
  }
300
300
  };
@@ -12,13 +12,13 @@ external getVisibilityStatus: unit => Js.Promise.t<visibilityStatus> = "getVisib
12
12
  ## Usage
13
13
 
14
14
  ```rescript
15
- ReactNativeBootsplash.hide({fade: true})->ignore
15
+ RNBootsplash.hide({fade: true})->ignore
16
16
  ```
17
17
 
18
18
  Or
19
19
 
20
20
  ```rescript
21
- ReactNativeBootsplash.hide({fade: true})->Js.Promise.then_(() => {
21
+ RNBootsplash.hide({fade: true})->Js.Promise.then_(() => {
22
22
  Js.log("RN BootSplash: fading is over")
23
23
  Js.Promise.resolve()
24
24
  }, _)->Js.Promise.catch(error => {
package/bsconfig.json CHANGED
@@ -1,6 +1,5 @@
1
1
  {
2
2
  "name": "react-native-bootsplash",
3
- "refmt": 3,
4
3
  "package-specs": {
5
4
  "module": "es6",
6
5
  "in-source": true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-bootsplash",
3
- "version": "4.0.0-beta.2",
3
+ "version": "4.0.0-beta.3",
4
4
  "license": "MIT",
5
5
  "description": "Display a bootsplash on your app starts. Hide it when you want.",
6
6
  "author": "Mathieu Acthernoene <zoontek@gmail.com>",
@@ -14,7 +14,7 @@
14
14
  "/ios",
15
15
  "/src",
16
16
  "RNBootSplash.podspec",
17
- "ReactNativeBootsplash.res",
17
+ "RNBootSplash.res",
18
18
  "bsconfig.json",
19
19
  "package.json",
20
20
  "react-native.config.js"
@@ -66,13 +66,13 @@
66
66
  "devDependencies": {
67
67
  "@types/fs-extra": "^9.0.13",
68
68
  "@types/react-native": "^0.66.4",
69
- "bs-platform": "^9.0.2",
70
- "lint-staged": "^11.2.6",
69
+ "lint-staged": "^12.0.2",
71
70
  "prettier": "^2.4.1",
72
71
  "prettier-plugin-organize-imports": "^2.3.4",
73
72
  "react": "^17.0.2",
74
73
  "react-native": "^0.66.3",
75
74
  "react-native-builder-bob": "^0.18.2",
75
+ "rescript": "^9.1.4",
76
76
  "typescript": "^4.4.4"
77
77
  }
78
78
  }