@capgo/capacitor-updater 7.8.2 → 7.8.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.
|
@@ -59,7 +59,7 @@ public class CapacitorUpdaterPlugin extends Plugin {
|
|
|
59
59
|
private static final String statsUrlDefault = "https://plugin.capgo.app/stats";
|
|
60
60
|
private static final String channelUrlDefault = "https://plugin.capgo.app/channel_self";
|
|
61
61
|
|
|
62
|
-
private final String PLUGIN_VERSION = "7.8.
|
|
62
|
+
private final String PLUGIN_VERSION = "7.8.3";
|
|
63
63
|
private static final String DELAY_CONDITION_PREFERENCES = "";
|
|
64
64
|
|
|
65
65
|
private SharedPreferences.Editor editor;
|
|
@@ -340,18 +340,6 @@ public class CapacitorUpdaterPlugin extends Plugin {
|
|
|
340
340
|
|
|
341
341
|
private void showSplashscreen() {
|
|
342
342
|
try {
|
|
343
|
-
// Check if bridge is ready
|
|
344
|
-
if (getBridge() == null) {
|
|
345
|
-
logger.warn("Bridge not ready for showing splashscreen with autoSplashscreen. Retrying in 100ms.");
|
|
346
|
-
new android.os.Handler(android.os.Looper.getMainLooper()).postDelayed(
|
|
347
|
-
() -> {
|
|
348
|
-
showSplashscreen(); // Retry once
|
|
349
|
-
},
|
|
350
|
-
100
|
|
351
|
-
);
|
|
352
|
-
return;
|
|
353
|
-
}
|
|
354
|
-
|
|
355
343
|
// Try to call the SplashScreen plugin directly through the bridge
|
|
356
344
|
PluginHandle splashScreenPlugin = getBridge().getPlugin("SplashScreen");
|
|
357
345
|
if (splashScreenPlugin != null) {
|
|
@@ -50,7 +50,7 @@ public class CapacitorUpdaterPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
|
50
50
|
CAPPluginMethod(name: "isShakeMenuEnabled", returnType: CAPPluginReturnPromise)
|
|
51
51
|
]
|
|
52
52
|
public var implementation = CapgoUpdater()
|
|
53
|
-
private let PLUGIN_VERSION: String = "7.8.
|
|
53
|
+
private let PLUGIN_VERSION: String = "7.8.3"
|
|
54
54
|
static let updateUrlDefault = "https://plugin.capgo.app/updates"
|
|
55
55
|
static let statsUrlDefault = "https://plugin.capgo.app/stats"
|
|
56
56
|
static let channelUrlDefault = "https://plugin.capgo.app/channel_self"
|