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 1
1
## 0.14.0+7
2
2
3
+ <<<<<<< HEAD
3
4
* Remove AndroidX warning.
5
+ =======
6
+ * Do not ignore "refresh" value for "getIdToken" on iOS
7
+ >>>>>>> getIdToken use actual refresh value instead of checking if object exists
4
8
5
9
## 0.14.0+6
6
10
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