Skip to content

Browser screen is closed on android when application launched from background #60

Description

@harishchopra86

Which platform(s) does your issue occur on?

  • Android
  • Android version: 9
  • Both emulator and android phone

Please, provide the following version numbers that your issue occurs with:

  • CLI: 7.1.2
  • Cross-platform modules: 7.1.0
  • Runtime(s): tns-android: 7.0.1
  • Plugin(s): 3.0.2

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.xml

Is there any code involved?

It can be reproduced in sample application

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussion 🔥Discussions about this pluginhelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions