@override
void didChangeAppLifecycleState(AppLifecycleState state) {
super.didChangeAppLifecycleState(state);
if (state == AppLifecycleState.inactive || state == AppLifecycleState.paused) {
SecureApplicationProvider.of(context)?.lock();
} else if (state == AppLifecycleState.resumed) {
SecureApplicationProvider.of(context)?.unlock();
}
}
I get locking when opening app switcher on iOS. on Android it blurs the screen but then the blur goes away after app is in background. The docs make it seem like I should not have to manually call lock to get this to work, is that correct?
if I manually lock here:
I get locking when opening app switcher on iOS. on Android it blurs the screen but then the blur goes away after app is in background. The docs make it seem like I should not have to manually call lock to get this to work, is that correct?