Closed 0Vipin0 closed 4 years ago
Hello
Did you try to have it as described in the read me placement section? https://github.com/neckaros/secure_application#placement
Yes, I read the complete Readme and used it as specified in the Readme. Sorry, If i wasn't complete give details of my problem.
What I am trying to accomplish is that
What my issue is
What I have tried
I have tried the AppLifeCycleState to manage when the app goes to the background, then comes to foreground. But since there is no context in the didAppLifeCycleStateChanged, so it gives me context not found error.
I have to dynamically build the screen using SecureApplicationProvider, But It doesn't work too.
I hope i am able to give the question detail clearly @neckaros.
To sum up even after unlock and moving to another screen you still want the app to be protected . That should be how it works (and is how it works in my own app)
How do you unlock when the user get back to the app? You should use unlock() and not open() Are you able to reproduce in a minimal app?
Yeah that sums up. I tried the unlock not open. I will implement a minimal app. Then update here if the issue is resolved or not.
Hello do you still have the issue or can i close it?
Sorry to for not replying earlier. I just implemented the security natively in the android and ios. So I haven't used the library there. You can close the issue. Thank for your reply.
I am trying to develop an app that has multiple screens. Whenever the user goes to the background and then comes to foreground, then I should be prompted to authenticate before going to other screen. I have tried many things but unable to understand how to implement it. Can you help me on how to do that @neckaros ?