@capgo/capacitor-updater 5.6.5 → 5.6.7
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
CHANGED
|
@@ -293,7 +293,7 @@ export default config;
|
|
|
293
293
|
notifyAppReady() => Promise<{ bundle: BundleInfo; }>
|
|
294
294
|
```
|
|
295
295
|
|
|
296
|
-
Notify Capacitor Updater that the current bundle is working (a rollback will occur
|
|
296
|
+
Notify Capacitor Updater that the current bundle is working (a rollback will occur if this method is not called on every app launch)
|
|
297
297
|
By default this method should be called in the first 10 sec after app launch, otherwise a rollback will occur.
|
|
298
298
|
Change this behaviour with {@link appReadyTimeout}
|
|
299
299
|
|
|
@@ -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.6.
|
|
58
|
+
private final String PLUGIN_VERSION = "5.6.7";
|
|
59
59
|
private static final String DELAY_CONDITION_PREFERENCES = "";
|
|
60
60
|
|
|
61
61
|
private SharedPreferences.Editor editor;
|
package/dist/docs.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"text": "An error if something went wrong"
|
|
21
21
|
}
|
|
22
22
|
],
|
|
23
|
-
"docs": "Notify Capacitor Updater that the current bundle is working (a rollback will occur
|
|
23
|
+
"docs": "Notify Capacitor Updater that the current bundle is working (a rollback will occur if this method is not called on every app launch)\nBy default this method should be called in the first 10 sec after app launch, otherwise a rollback will occur.\nChange this behaviour with {@link appReadyTimeout}",
|
|
24
24
|
"complexTypes": [
|
|
25
25
|
"BundleInfo"
|
|
26
26
|
],
|
|
@@ -313,7 +313,7 @@ export type AppReloadedListener = (state: void) => void;
|
|
|
313
313
|
export type AppReadyListener = (state: AppReadyEvent) => void;
|
|
314
314
|
export interface CapacitorUpdaterPlugin {
|
|
315
315
|
/**
|
|
316
|
-
* Notify Capacitor Updater that the current bundle is working (a rollback will occur
|
|
316
|
+
* Notify Capacitor Updater that the current bundle is working (a rollback will occur if this method is not called on every app launch)
|
|
317
317
|
* By default this method should be called in the first 10 sec after app launch, otherwise a rollback will occur.
|
|
318
318
|
* Change this behaviour with {@link appReadyTimeout}
|
|
319
319
|
*
|
|
@@ -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.6.
|
|
18
|
+
private let PLUGIN_VERSION: String = "5.6.7"
|
|
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"
|