Skip to content

Commit 8c0802d

Browse files
authored
fix(app_check, iOS): correctly parse forceRefresh argument using boolValue (#17627)
* fix(app_check, iOS): correctly parse forceRefresh argument using `boolValue` * chore: trigger CI
1 parent 62811a6 commit 8c0802d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FLTFirebaseAppCheckPlugin.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ - (void)registerTokenListener:(id)arguments
148148

149149
- (void)getToken:(id)arguments withMethodCallResult:(FLTFirebaseMethodCallResult *)result {
150150
FIRAppCheck *appCheck = [self getFIRAppCheckFromArguments:arguments];
151-
bool forceRefresh = arguments[@"forceRefresh"];
151+
bool forceRefresh = [arguments[@"forceRefresh"] boolValue];
152152

153153
[appCheck tokenForcingRefresh:forceRefresh
154154
completion:^(FIRAppCheckToken *_Nullable token, NSError *_Nullable error) {

0 commit comments

Comments
 (0)