Skip to content
A simple Hello World Ionic app to reproduce issue with iOS whitescreen when booted in the background when using ionic-webview
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
e2e
resources
src
.gitignore
README.md
angular.json
config.xml
ionic.config.json
package-lock.json
package.json
tsconfig.json
tslint.json

README.md

Cordova Background Geolocation with Ionic WebView White screen demo.

Installation

git clone https://github.com/transistorsoft/bggeo-webview-test.git
cd bggeo-webview-test

ionic cordova prepare ios
  • Install on physical iOS device
  • Enable the plugin with Toggle Button on top-left toolbar.
  • Toggle button on top-right manages debug sounds / notifications. Toggle this as desired. Leaving it enabled will let you know the plugin is alive.

Testing

The background-geolocation should engage each time the device travels about 200 meters from its last known position, tracking the device for as long as the device remains in motion. When the device stops in the same position for 5 minutes, the plugin will turn off location-updates and iOS will suspend the app in the background.

After launching the app the first time, and enabling the Enabled Toggle, you can terminate the app.

You should periodically open the app to ensure the app boots without freezing on a whitescreen.

You can’t perform that action at this time.