Skip to content

Commit 55e2db3

Browse files
Numoywestracer
authored andcommitted
fix(app): add argument
1 parent f936770 commit 55e2db3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

flutter_secure_storage_platform_interface/lib/src/method_channel_flutter_secure_storage.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ class MethodChannelFlutterSecureStorage extends FlutterSecureStoragePlatform {
120120
if (defaultTargetPlatform != TargetPlatform.android) {
121121
throw UnsupportedError('StrongBox is only supported on Android.');
122122
}
123-
return (await _channel.invokeMethod<bool>('isStrongBoxSupported')) ?? false;
123+
return (await _channel
124+
.invokeMethod<bool>('isStrongBoxSupported', {'key': ''})) ??
125+
false;
124126
}
125127
}

0 commit comments

Comments
 (0)