@capgo/capacitor-updater 6.25.6 → 6.25.8
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 +485 -92
- package/android/src/main/java/ee/forgr/capacitor_updater/CapacitorUpdaterPlugin.java +1 -1
- package/android/src/main/java/ee/forgr/capacitor_updater/CapgoUpdater.java +1 -1
- package/dist/docs.json +170 -133
- package/dist/esm/definitions.d.ts +549 -136
- package/dist/esm/definitions.js.map +1 -1
- package/ios/Sources/CapacitorUpdaterPlugin/CapacitorUpdaterPlugin.swift +7 -7
- package/ios/Sources/CapacitorUpdaterPlugin/CapgoUpdater.swift +5 -4
- package/package.json +1 -1
|
@@ -71,7 +71,7 @@ public class CapacitorUpdaterPlugin extends Plugin {
|
|
|
71
71
|
private static final String[] BREAKING_EVENT_NAMES = { "breakingAvailable", "majorAvailable" };
|
|
72
72
|
private static final String LAST_FAILED_BUNDLE_PREF_KEY = "CapacitorUpdater.lastFailedBundle";
|
|
73
73
|
|
|
74
|
-
private final String pluginVersion = "6.25.
|
|
74
|
+
private final String pluginVersion = "6.25.8";
|
|
75
75
|
private static final String DELAY_CONDITION_PREFERENCES = "";
|
|
76
76
|
|
|
77
77
|
private SharedPreferences.Editor editor;
|
|
@@ -446,11 +446,11 @@ public class CapgoUpdater {
|
|
|
446
446
|
this.flattenAssets(downloaded, idName);
|
|
447
447
|
downloaded.delete();
|
|
448
448
|
}
|
|
449
|
-
this.notifyDownload(id, 100);
|
|
450
449
|
// Remove old bundle info and set new one
|
|
451
450
|
this.saveBundleInfo(id, null);
|
|
452
451
|
BundleInfo next = new BundleInfo(id, version, BundleStatus.PENDING, new Date(System.currentTimeMillis()), checksum);
|
|
453
452
|
this.saveBundleInfo(id, next);
|
|
453
|
+
this.notifyDownload(id, 100);
|
|
454
454
|
|
|
455
455
|
final Map<String, Object> ret = new HashMap<>();
|
|
456
456
|
ret.put("bundle", next.toJSONMap());
|