Skip to content
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

@capacitor/inappbrowser is closed automatically when switching App from background to foreground (by clicking App Icon in Home device) #2211

Closed
kientrant1 opened this issue Oct 17, 2024 · 4 comments

Comments

@kientrant1
Copy link

Bug Report

Plugin(s)

@capacitor/inappbrowser

Capacitor Version

v6

Platform(s)

Android

Current Behavior

  • Open URL with InApp Browser plugin
  • Minimize App into background (foreground -> background)
  • Click App Icon to open App again (background -> foreground)
  • InApp Browser is closed automatically

Expected Behavior

  • Open URL with InApp Browser plugin
  • Minimize App into background (foreground -> background)
  • Click App Icon to open App again (background -> foreground)
  • InApp Browser still remain with the opend URL as before that
@ionitron-bot ionitron-bot bot added the triage label Oct 17, 2024
@ionitron-bot ionitron-bot bot removed the triage label Oct 17, 2024
@kientrant1 kientrant1 changed the title @capacitor/inappbrowser is closed automatically when switching from background to foreground @capacitor/inappbrowser is closed automatically when switching from background to foreground (by clicking App Icon in Home device) Oct 18, 2024
@intobrackets
Copy link

I'm experiencing the same issue described here. After running the application, it automatically closes with a message:
"App Closed because this app has a bug".

@Ionitron
Copy link
Collaborator

This issue needs more information before it can be addressed.
In particular, the reporter needs to provide a minimal sample app that demonstrates the issue.
If no sample app is provided within 15 days, the issue will be closed.

Please see the Contributing Guide for how to create a Sample App.

Thanks!
Ionitron 💙

@kientrant1 kientrant1 changed the title @capacitor/inappbrowser is closed automatically when switching from background to foreground (by clicking App Icon in Home device) @capacitor/inappbrowser is closed automatically when switching App from background to foreground (by clicking App Icon in Home device) Oct 31, 2024
@Ionitron
Copy link
Collaborator

It looks like this issue didn't get the information it needed, so I'll close it for now. If I made a mistake, sorry! I am just a bot.

Have a great day!
Ionitron 💙

Copy link

ionitron-bot bot commented Nov 30, 2024

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of the plugin, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Nov 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants