Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: biometric storage build issue #717

Merged
merged 6 commits into from
Sep 28, 2022
Merged

Conversation

sachins-geekyants
Copy link
Contributor

- What I did

- How I did it

  • upgraded biometric_storage to latest version
  • updated readme for usage on windows platform.

- How to verify it

  • run android by overriding at_client_mobile with this branch.
  • run windows by overriding at_client_mobile with this branch and also updating dependencies as mentioned in readme.

- Description for the changelog

@cconstab
Copy link
Member

Is this the only solution for windows? Seem a kludge to me..

@@ -136,6 +136,13 @@ flutter:
- .env
```

- If your app supports windows platform then add `biometric_storage` in app's dependencies
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we are adding biometric_storage in pubspec..this dependency will be fetched for all platforms..right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It throws following exception, on windows platform if does not added under dependencies section.

flutter: #0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:294:7)
<asynchronous suspension>
#1      MethodChannelBiometricStorage.getStorage (package:biometric_storage/src/biometric_storage.dart:318:22)
<asynchronous suspension>
#2      KeyChainManager.readAtClientData (package:at_client_mobile/src/keychain_manager.dart:35:21)
<asynchronous suspension>
#3      KeyChainManager.disableUsingSharedStorage (package:at_client_mobile/src/keychain_manager.dart:84:18)
<asynchronous suspension>
#4      KeyChainManager.initialSetup (package:at_client_mobile/src/keychain_manager.dart:78:7)
<asynchronous suspension>
#5      OnboardingService.initialSetup (package:at_onboarding_flutter/services/onboarding_service.dart:87:5)
<asynchronous suspension>
#6      _AtOnboardingStartScreenState._init (package:at_onboarding_flutter/screen/at_onboarding_start_screen.dart:37:5)
<asynchronous suspension>

@sachins-geekyants
Copy link
Contributor Author

I have raised a ticket in biometric_storage repo regarding windows strange behaviour (authpass/biometric_storage#85)

@murali-shris murali-shris merged commit e46c3c7 into trunk Sep 28, 2022
@murali-shris murali-shris deleted the fix_biometric_storage branch September 28, 2022 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants