Interesting behaviour.
After each restart of android device, there is a crash with this plugin: https://pub.dev/packages/geolocator
java.lang.RuntimeException: Unable to start receiver rekab.app.background_locator.BootBroadcastReceiver: java.lang.NullPointerException:
Workaround is turn off this:
<receiver android:name="rekab.app.background_locator.BootBroadcastReceiver"
android:enabled="true">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED"/>
</intent-filter>
</receiver>
But is there a better solution, without need of removing lines above?
Creată
3y
|
3 ian. 2022, 09:48:15
Autentifică-te pentru a adăuga comentarii