@capawesome/capacitor-live-update 6.4.1 → 6.5.0

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.
Files changed (21) hide show
  1. package/README.md +2 -1
  2. package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/LiveUpdate.java +351 -251
  3. package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/LiveUpdateHttpClient.java +71 -0
  4. package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/LiveUpdatePlugin.java +42 -59
  5. package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/classes/Manifest.java +58 -0
  6. package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/classes/ManifestItem.java +37 -0
  7. package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/classes/api/GetLatestBundleResponse.java +19 -27
  8. package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/classes/results/GetChannelResult.java +2 -1
  9. package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/enums/ArtifactType.java +6 -0
  10. package/dist/docs.json +1 -1
  11. package/dist/esm/definitions.d.ts +1 -1
  12. package/dist/esm/definitions.js.map +1 -1
  13. package/ios/Plugin/Classes/Manifest.swift +20 -0
  14. package/ios/Plugin/Enums/ArtifactType.swift +4 -0
  15. package/ios/Plugin/{Classes → Enums}/CustomError.swift +3 -0
  16. package/ios/Plugin/LiveUpdate.swift +270 -199
  17. package/ios/Plugin/LiveUpdateHttpClient.swift +42 -0
  18. package/ios/Plugin/LiveUpdatePlugin.swift +65 -63
  19. package/ios/Plugin/Protocols/Api/GetLatestBundleResponse.swift +2 -3
  20. package/ios/Plugin/Protocols/Api/ManifestItem.swift +5 -0
  21. package/package.json +1 -1
package/README.md CHANGED
@@ -12,6 +12,7 @@ Capacitor plugin to update your app remotely in real-time.
12
12
  - 🔄 **Auto Update**: Automatically download and set the latest bundle for the app.
13
13
  - 🛟 **Rollback**: Reset the app to the default bundle if an incompatible bundle has been set.
14
14
  - 🚀 **Rollout**: Gradually roll out new bundles to gather valuable feedback.
15
+ - 🔁 **Delta Updates**: Make your updates faster by only downloading changed files.
15
16
  - 🔒 **Security**: Verify the authenticity and integrity of the bundle using a public key.
16
17
  - 🌐 **Open Source**: Licensed under the MIT License.
17
18
 
@@ -308,7 +309,7 @@ Only available on Android and iOS.
308
309
  getBundles() => Promise<GetBundlesResult>
309
310
  ```
310
311
 
311
- Get all available bundle identifiers.
312
+ Get all identifiers of bundles that have been downloaded.
312
313
 
313
314
  Only available on Android and iOS.
314
315