Application restarts when restoring the focus in Android #16951
Unanswered
dcapeletti
asked this question in
CLI - Capacitor / Cordova modes
Replies: 1 comment
-
It is like pressing F5 on the browser. It may be an Android issue, I'm not sure. I had to modify the code in my app so that it saves the authentication data in the localstorage and if it is authenticated, redirect it back to the page where it was. I have to find a way to avoid the reload when restoring the focus. Thanks |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I do loguin in my application in Android, when I have the focus I work on it without problems, when I lose the focus, for example when using another application or when locking the phone screen, there are times that when I recover the focus my application restarts and returns to the loguin screen which is annoying to me. I have to re-enter the access data to continue working.
The expected behavior, is that when it recovers the focus again, it stays in the URL that had been left. I think my problem is related to this ionic-team/capacitor#4130 (comment)
Any suggestions on how to solve the problem? Application quasar capacitor mode or in android web browser the same problem happens. Thanks
Beta Was this translation helpful? Give feedback.
All reactions