File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 4
4
5
5
## 0.14.0+7
6
6
7
+ <<<<<<< HEAD
7
8
* Remove AndroidX warning.
9
+ =======
10
+ * Do not ignore "refresh" value for "getIdToken" on iOS
11
+ >>>>>>> getIdToken use actual refresh value instead of checking if object exists
8
12
9
13
## 0.14.0+6
10
14
Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ - (void)handleMethodCall:(FlutterMethodCall *)call result:(FlutterResult)result
205
205
}
206
206
} else if ([@" getIdToken" isEqualToString: call.method]) {
207
207
NSDictionary *args = call.arguments ;
208
- BOOL refresh = [args objectForKey: @" refresh" ];
208
+ BOOL refresh = [[ args objectForKey: @" refresh" ] boolValue ];
209
209
[[self getAuth: call.arguments].currentUser
210
210
getIDTokenResultForcingRefresh: refresh
211
211
completion: ^(FIRAuthTokenResult *_Nullable tokenResult,
You can’t perform that action at this time.
0 commit comments