[IOS][1.3+] WKWebView terminated [White Screen of Death] - kills Geofence events


When WkWebview is terminated because the device is low on resources the app is no longer running and components like Geofence events are killed along with it.

Reference: [IOS] [1.3] White Screen Of Death … #7018
pmwisdom commented on May 12 -
“apple has basically said its a bug in the WebView. Here’s an issue along the same lines on the plugin page:” - Telerik#41

I have added the Fix that recovers the app on open, but when the app is killed the geofences that were added, no longer trigger the transition event which allows me to call a method to track Exits and Enters from the user’s device. This was working perfectly on 1.2.1 I had no issues for months.

I am using:

  1. Meteor
  2. cordova-plugin-geofence@0.6.0
  3. cordova-plugin-wkwebview-engine@https://github.com/apache/cordova-plugin-wkwebview-engine.git#815ed0741b9ae30b343d6429bd8ff2ad37ec5790 (Web View Fix)


I think some think that this issue is resolved with this fix but its not the app still dies limiting anything from being run after its closed.