capacitor-updater
capacitor-updater copied to clipboard
R&D: Should it be possible to delete the currently active bundle?
It is currently possible to delete the current active distribution.zip bundle from the local filesystem.
I think it might be safer if this threw an error, but I'm not 100% sure.
What should the behavior be in this scenario where the user deletes the active bundle files? The effect of this is that the app will essentially stop working. Any JS/HTML that has not yet loaded will result in 404 errors once this happens.
Oh yes you are right it shouldn't be possible
Hey @lincolnthree i just added it in V4 beta, thanks for the suggestion