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

Add NSFaceIDUsageDescription for iOS #48

Open
chernobil opened this issue Jul 10, 2018 · 3 comments
Open

Add NSFaceIDUsageDescription for iOS #48

chernobil opened this issue Jul 10, 2018 · 3 comments

Comments

@chernobil
Copy link

Can you add NSFaceIDUsageDescription for iOS. Without it the iOS application is crashing when face id is used. Should be something like cordova-plugin-touch-id

@simon-ntitle
Copy link

simon-ntitle commented Aug 24, 2018

Yeah I'll appreciate it too.
Cheers

[edit]
can you try my fork ? should work fine with iPhone X
also created PR for this

ionic cordova plugin add https://github.com/simon-ntitle/cordova-plugin-keychain-touch-id.git --variable FACEID_USAGE_DESCRIPTION="For easy authentication"

@MatthewPringle
Copy link

MatthewPringle commented Sep 26, 2018

Add this to config.xml

<config-file parent="NSFaceIDUsageDescription" target="*-Info.plist">
<string>Library usage description</string>
</config-file>

@Lirianna
Copy link

I resolved this issue by adding the plugin again with the extension --variable FACEID_USAGE_DESCRIPTION="For easy authentication" like this:

cordova plugin add cordova-plugin-keychain-touch-id --variable FACEID_USAGE_DESCRIPTION="For easy authentication"

You can change the description to something else, but you cannot leave it blank.

Hope this helps

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

No branches or pull requests

4 participants