File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1
1
# Unreleased
2
2
3
+ # v0.10.3
4
+ - [ fixed] Fixed a regression in the 4.10.0 Firebase iOS SDK release that
5
+ prevented the SDK from communicating with the backend before successfully
6
+ authenticating via Firebase Authentication or after unauthenticating and
7
+ re-authenticating. Reads and writes would silently be executed locally
8
+ but not sent to the backend.
9
+
3
10
# v0.10.2
4
11
- [ changed] When you delete a FirebaseApp, the associated Firestore instances
5
12
are now also deleted (#683 ).
Original file line number Diff line number Diff line change @@ -313,7 +313,7 @@ - (void)invokeRPCWithFactory:(GRPCProtoCall * (^)(void))rpcFactory
313
313
[FSTDatastore
314
314
prepareHeadersForRPC: rpc
315
315
databaseID: &self .databaseInfo->database_id ()
316
- token: (result.is_valid () ? result.token ()
316
+ token: (result.user (). is_authenticated () ? result.token ()
317
317
: absl::string_view ())];
318
318
[rpc start ];
319
319
}
Original file line number Diff line number Diff line change @@ -297,7 +297,7 @@ - (void)resumeStartWithToken:(const Token &)token error:(NSError *)error {
297
297
298
298
[FSTDatastore prepareHeadersForRPC: _rpc
299
299
databaseID: &self .databaseInfo->database_id ()
300
- token: (token.is_valid () ? token.token () : absl::string_view ())];
300
+ token: (token.user (). is_authenticated () ? token.token () : absl::string_view ())];
301
301
FSTAssert (_callbackFilter == nil , @" GRX Filter must be nil" );
302
302
_callbackFilter = [[FSTCallbackFilter alloc ] initWithStream: self ];
303
303
[_rpc startWithWriteable: _callbackFilter];
You can’t perform that action at this time.
0 commit comments