File tree Expand file tree Collapse file tree 2 files changed +3
-21
lines changed Expand file tree Collapse file tree 2 files changed +3
-21
lines changed Original file line number Diff line number Diff line change 2
2
- [ changed] Add more details to the assertion failure in OrderBy::Compare() to
3
3
help with future debugging (#9258 ).
4
4
5
- # v8.12.0
6
- - [ fixed] Fixed an AppCheck issue that caused Firestore listeners to stop
7
- working and receive a "Permission Denied" error. This issue only occurred for
8
- AppCheck users that set their expiration time to under an hour.
9
-
10
5
# v8.11.0
11
6
- [ fixed] Fixed an issue that can result in incomplete Query snapshots when an
12
7
app is backgrounded during query execution.
Original file line number Diff line number Diff line change @@ -145,23 +145,10 @@ std::shared_ptr<FirestoreClient> FirestoreClient::Create(
145
145
};
146
146
147
147
shared_client->app_check_credentials_provider_ ->SetCredentialChangeListener (
148
- [weak_client](const std::string&) {
149
- auto shared_client = weak_client.lock ();
150
- if (!shared_client) return ;
151
- // It is okay to ignore an App Check token change notification if
152
- // FirestoreClient::Initialize has not been invoked yet because
153
- // once initialization does occur, setting up new watch streams will use
154
- // the latest App Check token available.
155
- if (shared_client->credentials_initialized_ ) {
156
- shared_client->worker_queue_ ->Enqueue ([shared_client] {
157
- LOG_DEBUG (" App Check token Changed." );
158
- // This will ensure that once a new App Check token is retrieved,
159
- // streams are re-established using the new token.
160
- shared_client->remote_store_ ->HandleCredentialChange ();
161
- });
162
- }
148
+ [](std::string) {
149
+ // Register an empty credentials change listener to activate token
150
+ // refresh.
163
151
});
164
-
165
152
shared_client->auth_credentials_provider_ ->SetCredentialChangeListener (
166
153
credential_change_listener);
167
154
You can’t perform that action at this time.
0 commit comments