@capacitor/splash-screen 4.1.3-nightly-20221206T150829.0 → 4.1.3-nightly-20221208T150836.0

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.
@@ -18,7 +18,11 @@ public class SplashScreenPlugin extends Plugin {
18
18
  public void load() {
19
19
  config = getSplashScreenConfig();
20
20
  splashScreen = new SplashScreen(getContext(), config);
21
- splashScreen.showOnLaunch(getActivity());
21
+ if (!bridge.isMinimumWebViewInstalled() && bridge.getConfig().getErrorPath() != null && !config.isLaunchAutoHide()) {
22
+ return;
23
+ } else {
24
+ splashScreen.showOnLaunch(getActivity());
25
+ }
22
26
  }
23
27
 
24
28
  @PluginMethod
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capacitor/splash-screen",
3
- "version": "4.1.3-nightly-20221206T150829.0",
3
+ "version": "4.1.3-nightly-20221208T150836.0",
4
4
  "description": "The Splash Screen API provides methods for showing or hiding a Splash image.",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -80,5 +80,5 @@
80
80
  "publishConfig": {
81
81
  "access": "public"
82
82
  },
83
- "gitHead": "60da490d455ee72c44f01ebfb1b33858d280d317"
83
+ "gitHead": "c884c38cb2d24105e4667e32ffb6bbe59c97b9b4"
84
84
  }