Geolocation plugin doesn’t work while in background, so it uses requestWhenInUseAuthorization
, if you want to use geolocation while on background you’ll have to create your own plugin that requests requestAlwaysAuthorization
and also handles geolocation while in background.