update OperationContext enum

This commit is contained in:
Adam Velebil 2024-01-30 16:10:42 +01:00
parent eddee700b3
commit 5a6e87028d
No known key found for this signature in database
GPG Key ID: C9B1E4A3CBBD2E10
3 changed files with 10 additions and 8 deletions

View File

@ -317,7 +317,7 @@ class MainActivity : FlutterFragmentActivity() {
dialogManager,
appPreferences
)
OperationContext.Fido -> FidoManager(
OperationContext.FidoPasskeys -> FidoManager(
this,
messenger,
viewModel,

View File

@ -24,12 +24,14 @@ import com.yubico.yubikit.android.transport.usb.UsbYubiKeyDevice
enum class OperationContext(val value: Int) {
Oath(0),
Fido(1),
YubiOtp(2),
Piv(3),
OpenPgp(4),
HsmAuth(5),
Management(6),
FidoU2f(1),
FidoFingerprints(2),
FidoPasskeys(3),
YubiOtp(4),
Piv(5),
OpenPgp(6),
HsmAuth(7),
Management(8),
Invalid(-1);
companion object {

View File

@ -57,7 +57,7 @@ Future<Widget> initialize() async {
overrides: [
supportedAppsProvider.overrideWith(implementedApps([
Application.accounts,
Application.webauthn,
Application.passkeys,
])),
prefProvider.overrideWithValue(await SharedPreferences.getInstance()),
logLevelProvider.overrideWith((ref) => AndroidLogger()),