Skip to content

Commit e9b44bb

Browse files
committed
fix double callback issue on signInWithCustomToken
1 parent 4df5f2e commit e9b44bb

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

android/src/main/java/io/fullstack/firestack/FirestackAuth.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -201,12 +201,7 @@ public void onComplete(@NonNull Task<AuthResult> task) {
201201
userExceptionCallback(ex, callback);
202202
}
203203
}
204-
}).addOnFailureListener(new OnFailureListener() {
205-
@Override
206-
public void onFailure(@NonNull Exception ex) {
207-
userExceptionCallback(ex, callback);
208-
}
209-
});
204+
});
210205
}
211206

212207
@ReactMethod

0 commit comments

Comments
 (0)