Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(live-update): add fetchLatestBundle() method #307

Open
3 of 20 tasks
robingenz opened this issue Oct 16, 2024 · 0 comments
Open
3 of 20 tasks

feat(live-update): add fetchLatestBundle() method #307

robingenz opened this issue Oct 16, 2024 · 0 comments
Labels
Milestone

Comments

@robingenz
Copy link
Member

robingenz commented Oct 16, 2024

Plugin(s)

  • Android Foreground Service
  • Android Battery Optimization
  • App Update
  • Background Task
  • Badge
  • Bluetooth Low Energy
  • Cloudinary
  • Datetime Picker
  • File Compressor
  • File Opener
  • File Picker
  • Live Update
  • Managed Configurations
  • NFC
  • Photo Editor
  • Printer
  • Screen Orientation
  • Zip

Current problem

It is currently not possible to check whether a new bundle is available before calling the sync() method.

Preferred solution

Add a fetchLatestBundle(...) method that returns the latest bundle from the Capawesome Cloud API.

Bonus: Extend the downloadBundle(...) method so that the sync(...) method is no longer needed.

Alternative options

Use the Capawesome Cloud API directly without the plugin.

Additional context

See https://forum.ionicframework.com/t/appflow-live-update-capacitor-plugin-no-checkforupdate-method/244689

Before submitting

@robingenz robingenz added this to the v7.0.0 milestone Oct 16, 2024
@robingenz robingenz changed the title feat(live-update): add getLatestBundle() method feat(live-update): add fetchLatestBundle() method Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant