google / cordova-plugin-browsertab

A Cordova plugin that provides an interface to in-app browser tabs that exist on some mobile platforms, such as SFSafariViewController on iOS and CustomTabs on Android.
Apache License 2.0
117 stars 147 forks source link

Opening browsertab in android fires "pause" event in android but doesn't fire it in iOS #10

Closed redborian closed 7 years ago

redborian commented 7 years ago

Opening browsertab in android fires "pause" event in android but doesn't fire it in iOS. Is there a way to make it uniform? I'd think that "pause" event should not fire as custom tabs are considered as part of the app.

redborian commented 7 years ago

Looks like that is the behavior of Android. Any app that goes offscreen receives a "pause" event fired.