0

Im using both image picker and local auth plugins in a flutter project. when im picking images with image_picker plugin (technically it pauses app lifecycle) , local authentication is required to continue. because i've set as follows

@override
  void didChangeAppLifecycleState(AppLifecycleState state) {
    if (state == AppLifecycleState.resumed) {
      authenticateUser();
      _navigateToHome();
    }
  }

and also i've faced this issue when picking suggested phone number in textfields. is there any solution?

0 Answers0