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

Bailout #2

Open
ben-ng opened this issue Nov 16, 2014 · 2 comments
Open

Bailout #2

ben-ng opened this issue Nov 16, 2014 · 2 comments
Assignees

Comments

@ben-ng
Copy link
Owner

ben-ng commented Nov 16, 2014

There should be a copy of the "last known good version" somewhere, so that if the app fails to respond after a certain amount of time, a revert can be done.

This should probably be implemented with another global function. The native code will poll this function for X seconds, and if it doesn't return true in that time, declare the version dead and revert to the last known good one. This could be the one sitting in the app bundle.

@ben-ng ben-ng self-assigned this Nov 16, 2014
@ptim
Copy link

ptim commented Oct 7, 2015

Sweet! I wonder if there's something to be learned / leveraged from Percolate's Meteor package: https://github.com/percolatestudio/cordova-plugin-safe-reload

@ben-ng
Copy link
Owner Author

ben-ng commented Oct 7, 2015

That's one way to do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants