@capawesome/capacitor-live-update 7.2.1 → 7.2.2

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
@@ -27,6 +27,16 @@ We are proud to offer one of the most complete and feature-rich Capacitor plugin
27
27
 
28
28
  Missing a feature? Just [open an issue](https://github.com/capawesome-team/capacitor-plugins/issues) and we'll take a look!
29
29
 
30
+ ## Guides
31
+
32
+ - [Announcing the Capacitor Live Update Plugin](https://capawesome.io/blog/announcing-the-capacitor-live-update-plugin/)
33
+ - [Exploring the Capacitor Live Update API](https://capawesome.io/blog/exploring-the-capacitor-live-update-api/)
34
+ - [How Live Updates for Capacitor work](https://capawesome.io/blog/how-live-updates-for-capacitor-work/)
35
+ - [How to gradually roll out Capacitor Live Updates](https://capawesome.io/blog/how-to-gradually-roll-out-capacitor-live-updates/#update-a-bundle)
36
+ - [How to restrict Capacitor Live Updates to Native Versions](https://capawesome.io/blog/how-to-restrict-capacitor-live-updates-to-native-versions/)
37
+ - [Live Updates for Nuxt Capacitor Apps with Capawesome Cloud](https://capawesome.io/blog/live-updates-for-nuxt-capacitor/)
38
+ - [Migrating from App Center to Capawesome Cloud](https://capawesome.io/blog/migrating-from-app-center-to-capawesome-cloud/)
39
+
30
40
  ## Installation
31
41
 
32
42
  ```bash
@@ -26,7 +26,7 @@ import io.capawesome.capacitorjs.plugins.liveupdate.interfaces.Result;
26
26
  public class LiveUpdatePlugin extends Plugin {
27
27
 
28
28
  public static final String TAG = "LiveUpdate";
29
- public static final String VERSION = "7.1.0";
29
+ public static final String VERSION = "7.2.2";
30
30
  public static final String SHARED_PREFERENCES_NAME = "CapawesomeLiveUpdate"; // DO NOT CHANGE
31
31
  public static final String ERROR_APP_ID_MISSING = "appId must be configured.";
32
32
  public static final String ERROR_BUNDLE_EXISTS = "bundle already exists.";
@@ -27,7 +27,7 @@ public class LiveUpdateHttpClient: NSObject {
27
27
  if let callback = callback {
28
28
  callback(progress)
29
29
  }
30
- }.responseData { response in
30
+ }.responseData(emptyResponseCodes: [200, 204, 205]) { response in
31
31
  continuation.resume(returning: response)
32
32
  }
33
33
  }
@@ -8,7 +8,7 @@ import Capacitor
8
8
  @objc(LiveUpdatePlugin)
9
9
  public class LiveUpdatePlugin: CAPPlugin, CAPBridgedPlugin {
10
10
  public static let tag = "LiveUpdate"
11
- public static let version = "7.1.0"
11
+ public static let version = "7.2.2"
12
12
  public static let userDefaultsPrefix = "CapawesomeLiveUpdate" // DO NOT CHANGE
13
13
 
14
14
  public let identifier = "LiveUpdatePlugin"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capawesome/capacitor-live-update",
3
- "version": "7.2.1",
3
+ "version": "7.2.2",
4
4
  "description": "Capacitor plugin to update your app remotely in real-time.",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",