Skip to content

Commit 311df63

Browse files
committed
fix double callback issue on getToken
1 parent 3275bd6 commit 311df63

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
@@ -384,12 +384,7 @@ public void onComplete(@NonNull Task<GetTokenResult> task) {
384384
userExceptionCallback(ex, callback);
385385
}
386386
}
387-
}).addOnFailureListener(new OnFailureListener() {
388-
@Override
389-
public void onFailure(@NonNull Exception ex) {
390-
userExceptionCallback(ex, callback);
391-
}
392-
});
387+
});
393388
}
394389

395390
@ReactMethod

0 commit comments

Comments
 (0)