@capgo/capacitor-updater 7.27.6 → 7.27.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 = "7.27.
|
|
74
|
+
private final String pluginVersion = "7.27.8";
|
|
75
75
|
private static final String DELAY_CONDITION_PREFERENCES = "";
|
|
76
76
|
|
|
77
77
|
private SharedPreferences.Editor editor;
|
|
@@ -439,11 +439,11 @@ public class CapgoUpdater {
|
|
|
439
439
|
this.flattenAssets(downloaded, idName);
|
|
440
440
|
downloaded.delete();
|
|
441
441
|
}
|
|
442
|
-
this.notifyDownload(id, 100);
|
|
443
442
|
// Remove old bundle info and set new one
|
|
444
443
|
this.saveBundleInfo(id, null);
|
|
445
444
|
BundleInfo next = new BundleInfo(id, version, BundleStatus.PENDING, new Date(System.currentTimeMillis()), checksum);
|
|
446
445
|
this.saveBundleInfo(id, next);
|
|
446
|
+
this.notifyDownload(id, 100);
|
|
447
447
|
|
|
448
448
|
final Map<String, Object> ret = new HashMap<>();
|
|
449
449
|
ret.put("bundle", next.toJSONMap());
|