Cordova Angular Android call back not going to app


Currently having a problem with authentication. I am programming using angular and patching to android/ios with cordova. If I run ngserve then i can log in with auth0, for that the callback url is localhost://4200, now I have to use a different call back for cordova which is :// where my package name is replaced accordingly.

So i do cordova run android, and the app builds and installs on the android phone. I click login, takes me to Auth0, at which point i click to login with google, click my account then it just hangs there, can’t go further.

Basically how do i sort it so that it callsback to the android app. If I leave the website on the phone it does call back to that but then in the browser not on the app.

Any help appreciated!