@capgo/capacitor-updater 4.6.2 → 4.6.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.
@@ -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.6.2";
48
+ public static final String pluginVersion = "4.6.3";
49
49
 
50
50
  public SharedPreferences.Editor editor;
51
51
  public SharedPreferences prefs;
package/dist/docs.json CHANGED
@@ -1553,6 +1553,22 @@
1553
1553
  "docs": "Configure the URL / endpoint to which update statistics are sent.\n\nOnly available for Android and iOS. Set to \"\" to disable stats reporting.",
1554
1554
  "complexTypes": [],
1555
1555
  "type": "string | undefined"
1556
+ },
1557
+ {
1558
+ "name": "allowEmulatorProd",
1559
+ "tags": [
1560
+ {
1561
+ "text": "true",
1562
+ "name": "default"
1563
+ },
1564
+ {
1565
+ "text": "false",
1566
+ "name": "example"
1567
+ }
1568
+ ],
1569
+ "docs": "Allow the plugin to automatically check for updates on app launch on emulator devices in production app.\n\nThis is useful for CI/CD who send builds to google at each commit.",
1570
+ "complexTypes": [],
1571
+ "type": "boolean | undefined"
1556
1572
  }
1557
1573
  ],
1558
1574
  "docs": "These configuration values are available:"
@@ -68,6 +68,15 @@ declare module '@capacitor/cli' {
68
68
  * @example https://example.com/api/stats
69
69
  */
70
70
  statsUrl?: string;
71
+ /**
72
+ * Allow the plugin to automatically check for updates on app launch on emulator devices in production app.
73
+ *
74
+ * This is useful for CI/CD who send builds to google at each commit.
75
+ *
76
+ * @default true
77
+ * @example false
78
+ */
79
+ allowEmulatorProd?: boolean;
71
80
  };
72
81
  }
73
82
  }
@@ -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.6.2"
151
+ public let pluginVersion = "4.6.3"
152
152
  public var statsUrl = ""
153
153
  public var appId = ""
154
154
  public var deviceID = UIDevice.current.identifierForVendor?.uuidString ?? ""
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-updater",
3
- "version": "4.6.2",
3
+ "version": "4.6.3",
4
4
  "license": "LGPL-3.0-only",
5
5
  "description": "OTA update for capacitor apps",
6
6
  "main": "dist/plugin.cjs.js",