Cordova-plugin-firebasex: signOutUser

Created on 30 Mar 2020  Â·  5Comments  Â·  Source: dpa99c/cordova-plugin-firebasex

Feature request



Is posible that method signOutUser removes all Google cache files? When you sign out and then sign in again, the account chooser doesn't show.. Next time you sign in, the login is silent with the previous account.
Account chooser only is showed at the first time you sign in. I don't know if this is a bug or is something that is not implemented yet.
Thank you in advange!

bug runtime issue

All 5 comments

This looks to be a bug - well, a shortcoming in Firebase's use of Google SignIn anyway...
I had assumed Firebase would take care of signing out of Google when you signed out of Firebase, but apparently not: it seems you must manually sign out of both on Android and iOS.

I will test this scenario and implement a fix in the next plugin release if needed.

Hi!!

Thank you very much for your response and apreciate support!

B.R

El mar., 31 mar. 2020 8:51, Dave Alden notifications@github.com escribió:

This looks to be a bug - well, a shortcoming in Firebase's use of Google
SignIn anyway...
I had assumed Firebase would take care of signing out of Google when you
signed out of Firebase, but apparently not: it seems you must manually sign
out of both on Android
https://github.com/firebase/FirebaseUI-Android/issues/187#issuecomment-225625136
and iOS https://stackoverflow.com/a/40107017/777265.

I will test this scenario and implement a fix in the next plugin release
if needed.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dpa99c/cordova-plugin-firebasex/issues/353#issuecomment-606435652,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACHANXLJWFGOYCCMWP4JS7DRKGHIFANCNFSM4LW6UH3Q
.

How can I test this changes?? Can I overwrite the commited file srcc/android/FirebasePlugin.java and build again? Thank you

You can install directly off the master branch until this is released in the next version to npm:

cordova plugin rm cordova-plugin-firebasex --nosave && cordova plugin add https://github.com/dpa99c/cordova-plugin-firebasex --nosave

You can install directly off the master branch until this is released in the next version to npm:

cordova plugin rm cordova-plugin-firebasex --nosave && cordova plugin add https://github.com/dpa99c/cordova-plugin-firebasex --nosave

Hi!
It works like a charm!
But I had problems uninstalling the plugin and added with the above command, I think It was for version conflict with other plugins but I'm not sure and I didn't want "another plugin war" jajaja...

Finally I solved adding changes manually to FirebasePlugin.java file existing in "plugins" and "node_modules" folders and rebuild until new version is released.

Thank you @dpa99c
Regards

Was this page helpful?
0 / 5 - 0 ratings

Related issues

almothafar picture almothafar  Â·  5Comments

capc0 picture capc0  Â·  5Comments

auron105 picture auron105  Â·  7Comments

DavidStrausz picture DavidStrausz  Â·  3Comments

satyam41295 picture satyam41295  Â·  4Comments