bug(live-update): reset to the default bundle if the sync has not found a bundle #272
Closed as not planned
Closed as not planned
Description
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
Version
6.3.0
Platform(s)
- Android
- iOS
- Web
Current behavior
Scenario:
- new Live Update is published (there are no other Live Updates in this channel, it is the only one)
- app synchronizes and downloads live update
- new live update is deleted again ( e.g. via the Capawesome Cloud Console)
- app synchronizes, finds no update and changes nothing
Expected behavior
Scenario:
- new Live Update is published (there are no other Live Updates in this channel, it is the only one)
- app synchronizes and downloads live update
- new live update is deleted again ( e.g. via the Capawesome Cloud Console)
- app synchronizes, finds no update and performs a rollback to the default bundle
A temporary workaround is to publish the default bundle as a live update in order to perform a “reset”.
Attention: A reset should only be performed if the server returns a 404 Not Found and not, for example, in the event of an internal server error.
Reproduction
Steps to reproduce
Other information
No response
Capacitor doctor
Before submitting
- I have read and followed the bug report guidelines.
- I have attached links to possibly related issues and discussions.
- I understand that incomplete issues (e.g. without reproduction) are closed.