You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It won't fire again when maximizing/minimizing or closing the browser
Screencast.from.2026-06-03.09-52-07.mp4
Expected Behavior
I expect browserFinished to tell me when the browser was closed
I open Auth0 in a browser (because of ionic-team/capacitor#7367). But I can't reliably know when the browser is done to remove the "loading" state (spinner) in my app.
Capacitor Version
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 8.4.0
@capacitor/core: 8.4.0
@capacitor/android: 8.4.0
@capacitor/ios: 8.4.0
Installed Dependencies:
@capacitor/ios: not installed
@capacitor/core: 8.4.0
@capacitor/android: 8.4.0
@capacitor/cli: 8.4.0
[success] Android looking great! 👌
Other API Details
Platforms Affected
Current Behavior
For repro I used
npm init @capacitor/app@latestand then replaced index.html body withand
capacitor-welcome.jswithSteps:
browserFinishedhas firedScreencast.from.2026-06-03.09-52-07.mp4
Expected Behavior
I expect
browserFinishedto tell me when the browser was closedI open Auth0 in a browser (because of ionic-team/capacitor#7367). But I can't reliably know when the browser is done to remove the "loading" state (spinner) in my app.
Project Reproduction
https://github.com/Prinzhorn/capacitor-android-browser-close-event
Additional Information
No response