mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-22 08:22:16 +03:00
[Android] remove ChromeOS exclusion
This commit is contained in:
parent
4efc15a5c8
commit
0a7e39813f
@ -523,10 +523,6 @@ class MainActivity : FlutterFragmentActivity() {
|
||||
result.success(true)
|
||||
}
|
||||
|
||||
"isArc" -> {
|
||||
val regex = ".+_cheets|cheets_.+".toRegex()
|
||||
result.success(Build.DEVICE?.matches(regex) ?: false)
|
||||
}
|
||||
else -> logger.warn("Unknown app method: {}", methodCall.method)
|
||||
}
|
||||
}
|
||||
|
@ -54,8 +54,6 @@ Future<Widget> initialize() async {
|
||||
|
||||
_initLicenses();
|
||||
|
||||
final isArc = await getAndroidIsArc();
|
||||
|
||||
return ProviderScope(
|
||||
overrides: [
|
||||
prefProvider.overrideWithValue(await SharedPreferences.getInstance()),
|
||||
@ -115,7 +113,6 @@ Future<Widget> initialize() async {
|
||||
// Disable unimplemented feature
|
||||
..setFeature(features.piv, false)
|
||||
..setFeature(features.otp, false)
|
||||
..setFeature(features.fido, !isArc)
|
||||
..setFeature(features.management, false);
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user