... | |
@override | |
void didChangeAppLifecycleState(AppLifecycleState state) { | |
super.didChangeAppLifecycleState(state); | |
if (state == AppLifecycleState.resumed && _appSettingOpened) { | |
// Recheck location permissions only if settings were opened. | |
initLocationPermissions(); | |
} | |
} |