I’d rather suggest cordova-plugin-cache-clear, in order to handle more than just Chrome on . but having an Activity itself cannot be accomplished by some plugin (and in case of an Exception, not even by Activity.recreate()), but it would require a helper Service, which gets notified (of course these have to be handled exceptions, un-handled exceptions would nevertheless just crash) and then handles the situation accordingly. It might make more sense, to iron out possible reasons for crashes – instead of wasting to creating questionable workarounds for code which was not properly forged, in the first place. besides, if this is JavaScript which bugs out, there might be no way to work around these issues at all, but to fix them.

Source link


Please enter your comment!
Please enter your name here