-
Notifications
You must be signed in to change notification settings - Fork 146
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
Event notification if user closes the browser tab #23
Comments
no reply? |
Nope. |
Anyone found a solution for this? |
I had a workaround (Android only) that worked without touching the plugin. BrowserTabs will pause the app so you can subscribe to cordova's platform "resume" event. I set a variable when loading the browserTab which I utilised in combination with the resume event to check if a BrowserTab was closed. I recently migrated to Eddy Verbruggen SafariViewController that actually implements observables for open, loaded and closed. |
Is there a way to get an event notification back in my Cordova app if the user explicitly closes the browser tab -- i.e. by clicking "Done" button in Safari tab , or [X] close box in Chrome Tab?
Thanks
The text was updated successfully, but these errors were encountered: