Browser "browserPageLoaded" listener only called once


#1

In our app we are trying to use the browser to login a user and grab an access token from the url. We are trying to use the listener “browserPageLoaded” to check the current url and strip the token. With the Cordova plugin In app browser we have used the “loadStart” event which is called EVERY time the browser loads a page in which we then can check if the token is there and strip the token. Does the current Capacitor Browser API handle this type of functionality? Are we using the right listener? If there is not this current functionality, is it in the plans to make it a part of the Browser API?