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.
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.