Aaron K Saunders
Aaron K Saunders
what problem is this trying to address? Just curious as I am considering integrating this plugin into an application
so what did you find are the correct versions to get something working? I am running into similar issues
That only shows how to login the user when initially logging in. My question is if the user gets logged in to the js sdk on native auth change event?...
but how do I login the user when returning to the app the second time? basically I want Firebase to detect there is an existing user and log the user...
I understand everything you are saying... and I have done all of that, BUT since the authListener is not working on the device I never get a user.... so this...
I have been stumped by this same issue all day and was forced to create a workaround, it works correctly when running in the browser but not on the device....
@robingenz - sample project in vuejs where the listener is not firing when app starts up on device https://github.com/aaronksaunders/mobile-gauth
@robingenz that is the bug... the state change is never firing at startup so the app doesn't now if it should show the home screen or the login screen
@robingenz - I debugged it in your code also, the problem is that it is firing before the Ionic app is completely initialized and able to set the listener up....
@braincomb thanks for doing the work also, I was just about to do the same with the IOS plugin, but it already confirms my suspicion that the authstate change is...