ionic-team / ionic-v3

The repo for Ionic 3.x. For the latest version of Ionic, please see https://github.com/ionic-team/ionic
Other
129 stars 86 forks source link

InAppBrowser is not visible when app is resumed from device background. #1138

Open godonovan-jh opened 2 years ago

godonovan-jh commented 2 years ago

I'm submitting a ... [x] bug report [ ] feature request

Current behavior: This behavior is exhibited on IOS but works fine on Android.

My app opens an InAppBrowser to an external URL. When opening the browser, it works as expected and displays "over" the current page of the app.

If I puts the app into the background while the InAppBrowser is open, and then resumes the app. I cannot see the InAppBrowser. I see the current App page it should be layered over.

When I swipe up on the phone and see a preview of the app, I see the InAppBrowser.

I have tried to call .show() but the console reports that the InAppBrowser is already open so nothing happens.

It seems the InAppBrowser is still "active" but somehow layered "under" the app. I cannot find a way to bring it to the foreground.

Expected behavior: When the app resumes from the background, the InAppBrowser should still be in the foreground.