@capgo/capacitor-updater 4.4.7 → 4.4.9
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.
|
@@ -45,7 +45,7 @@ public class CapacitorUpdater {
|
|
|
45
45
|
private static final String bundleDirectory = "versions";
|
|
46
46
|
|
|
47
47
|
public static final String TAG = "Capacitor-updater";
|
|
48
|
-
public static final String pluginVersion = "4.4.
|
|
48
|
+
public static final String pluginVersion = "4.4.9";
|
|
49
49
|
|
|
50
50
|
public SharedPreferences.Editor editor;
|
|
51
51
|
public SharedPreferences prefs;
|
|
@@ -343,6 +343,7 @@ public class CapacitorUpdaterPlugin extends Plugin implements Application.Activi
|
|
|
343
343
|
CapacitorUpdaterPlugin.this.implementation.getLatest(
|
|
344
344
|
CapacitorUpdaterPlugin.this.updateUrl,
|
|
345
345
|
res -> {
|
|
346
|
+
Log.i(CapacitorUpdater.TAG, "Check for update via: " + CapacitorUpdaterPlugin.this.updateUrl);
|
|
346
347
|
final JSObject ret = new JSObject();
|
|
347
348
|
Iterator<String> keys = res.keys();
|
|
348
349
|
while (keys.hasNext()) {
|
|
@@ -360,7 +361,7 @@ public class CapacitorUpdaterPlugin extends Plugin implements Application.Activi
|
|
|
360
361
|
);
|
|
361
362
|
}
|
|
362
363
|
}
|
|
363
|
-
);
|
|
364
|
+
).start();
|
|
364
365
|
}
|
|
365
366
|
|
|
366
367
|
private boolean _reset(final Boolean toLastSuccessful) {
|
|
@@ -866,7 +867,7 @@ public class CapacitorUpdaterPlugin extends Plugin implements Application.Activi
|
|
|
866
867
|
CapacitorUpdaterPlugin.this.checkRevert();
|
|
867
868
|
CapacitorUpdaterPlugin.this.appReadyCheck = null;
|
|
868
869
|
} catch (final InterruptedException e) {
|
|
869
|
-
Log.
|
|
870
|
+
Log.i(CapacitorUpdater.TAG, DeferredNotifyAppReadyCheck.class.getName() + " was interrupted.");
|
|
870
871
|
}
|
|
871
872
|
}
|
|
872
873
|
}
|
|
@@ -148,7 +148,7 @@ extension CustomError: LocalizedError {
|
|
|
148
148
|
|
|
149
149
|
public let TAG = "✨ Capacitor-updater:"
|
|
150
150
|
public let CAP_SERVER_PATH = "serverBasePath"
|
|
151
|
-
public let pluginVersion = "4.4.
|
|
151
|
+
public let pluginVersion = "4.4.9"
|
|
152
152
|
public var statsUrl = ""
|
|
153
153
|
public var appId = ""
|
|
154
154
|
public var deviceID = UIDevice.current.identifierForVendor?.uuidString ?? ""
|