@capgo/capacitor-updater 5.8.3 → 5.8.5

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.
@@ -699,6 +699,11 @@ public class CapacitorUpdater {
699
699
 
700
700
  public void autoReset() {
701
701
  String id = this.prefs.getString(WebView.CAP_SERVER_PATH, "");
702
+
703
+ // Public means 1 thing - that this is a builtin bundle.
704
+ if (id.equals("public")) {
705
+ return;
706
+ }
702
707
  final BundleInfo currentBundle = this.getBundleInfo(id);
703
708
  if (!currentBundle.isBuiltin() && !this.bundleExists(id)) {
704
709
  Log.i(TAG, "Folder at bundle path does not exist. Triggering reset.");
@@ -55,7 +55,7 @@ public class CapacitorUpdaterPlugin extends Plugin {
55
55
  private static final String channelUrlDefault =
56
56
  "https://api.capgo.app/channel_self";
57
57
 
58
- private final String PLUGIN_VERSION = "5.8.3";
58
+ private final String PLUGIN_VERSION = "5.8.5";
59
59
  private static final String DELAY_CONDITION_PREFERENCES = "";
60
60
 
61
61
  private SharedPreferences.Editor editor;
@@ -15,7 +15,7 @@ import Version
15
15
  @objc(CapacitorUpdaterPlugin)
16
16
  public class CapacitorUpdaterPlugin: CAPPlugin {
17
17
  public var implementation = CapacitorUpdater()
18
- private let PLUGIN_VERSION: String = "5.8.3"
18
+ private let PLUGIN_VERSION: String = "5.8.5"
19
19
  static let updateUrlDefault = "https://api.capgo.app/updates"
20
20
  static let statsUrlDefault = "https://api.capgo.app/stats"
21
21
  static let channelUrlDefault = "https://api.capgo.app/channel_self"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-updater",
3
- "version": "5.8.3",
3
+ "version": "5.8.5",
4
4
  "packageManager": "pnpm@8.15.4",
5
5
  "license": "MPL-2.0",
6
6
  "description": "Live update for capacitor apps",