Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70439

Keychain touch id issue on ios

$
0
0

@baako wrote:

I need help please, I am using this plugin https://ionicframework.com/docs/native/keychain-touch-id for fingerprint and face ID, using the example code, it works on android, however on IOS I am getting an error Password could not be save in chain

my angular code looks like

await this.keychainTouchId.isAvailable().then((res: any) => {
   console.log(res); `// res = true`
  this.keychainTouchId.save('refresh_token', credentials, true).then((result: any) => {
     console.log(result);`  // result = Password could not be save in chain`
     return result;
   }).catch((err: any) => {
      console.log('key save error ' + err)
      return err;
});

I believe this might be broken because i created cordova app project just to test it, using the example code in https://github.com/sjhoeksma/cordova-plugin-keychain-touch-id the fingerprint dialog shows on ios. So I am left really confused.
Is the an issue with the ionic-native library?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70439

Trending Articles