Skip to content

Commit 62d868a

Browse files
authored
Revert "Re-establish streams when App Check token expires. (#3328)" (#3462)
This reverts commit 26d0992.
1 parent 7d9a5a7 commit 62d868a

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

firebase-firestore/src/main/java/com/google/firebase/firestore/core/FirestoreClient.java

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -129,13 +129,8 @@ public FirestoreClient(
129129

130130
appCheckProvider.setChangeListener(
131131
(String appCheckToken) -> {
132-
// This will ensure that once a new App Check token is retrieved, streams are
133-
// re-established using the new token.
134-
asyncQueue.enqueueAndForget(
135-
() -> {
136-
Logger.debug(LOG_TAG, "App Check token changed.");
137-
remoteStore.handleCredentialChange();
138-
});
132+
// Register an empty credentials change listener to activate token
133+
// refresh.
139134
});
140135
}
141136

0 commit comments

Comments
 (0)