forceReloadOnBoot property
@deprecated: Banned in Android 10. Use enableHeadless instead
Force launch your terminated App after a device reboot.
When the user reboots their device with BackgroundGeolocation configured with startOnBoot:true, only the plugin's pure native background-service begins running, "headless", in this case. The background service will continue tracking the location. However, the background service can optionally re-launch your foreground application.
WARNING: When the background service re-launches your application, it will briefly appear in the foreground before immediately minimizing. If the user has their phone on at the time, they will see a brief flash of your app appearing and minimizing.
Implementation
bool? forceReloadOnBoot;