-
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Browser screen is closed on android when application launched from background #60
Comments
Please check this comment: proyecto26/react-native-inappbrowser#153 (comment) |
@jdnichollsc Thanks for prompt response. However it is still the same when application is launched from phone menu launcher icon and I get this error on console when application is launched from launcher icon:
Any advise on its fix would be highly appreciated. Here is my use case:
|
That |
@jdnichollsc Thanks for checking, is there a way to prevent browser closing when application is launched from background by pressing app launcher icon? Please advise. |
Sorry, honestly I have no idea, but any pull request is welcome! 👍 |
I had given it a try already but not able to solve myself so looking for community's help. Struggling with it from last two weeks but can't get any idea to resolve this. |
Adding to above, I looked at ChromeTabsManagerActivity callbacks and found that it's |
Good catch, it looks like a normal behavior with Android, the Activities are destroyed when the launch icon is pressed again |
Try this approach and let me know 👍 proyecto26/react-native-inappbrowser#213 (comment) |
Which platform(s) does your issue occur on?
Please, provide the following version numbers that your issue occurs with:
Please, tell us how to recreate the issue in as much detail as possible.
I am using the plugin for opening a login url inside the application where user have to enter his credentials. During that process if user closes the application by pressing home button on android phone, and opens the app again by pressing app icon from phone menu, webview screen is automatically closed.
I wanted to know if is there a way to keep the webview login screen open when user opens the app by pressing app icon from phone menu.
I am using:
android:launchMode="singleTask"
in AndroidManifest.xmlIs there any code involved?
It can be reproduced in sample application
The text was updated successfully, but these errors were encountered: