signOut using incorrect app instance
This commit is contained in:
Michael Diarmid 2017-11-10 22:00:42 +00:00 committed by GitHub
parent a633dab4a2
commit d005e2f0aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ RCT_EXPORT_METHOD(signOut:
(RCTPromiseRejectBlock) reject) {
FIRApp *firApp = [FIRApp appNamed:appName];
FIRUser *user = [FIRAuth auth].currentUser;
FIRUser *user = [FIRAuth authWithApp:firApp].currentUser;
if (user) {
NSError *error;