Error [NSNull dataUsingEncoding:]: unrecognized selector sent to instance
Hallo guys,
has anyone this problem too?
https://github.com/EddyVerbruggen/cordova-plugin-touch-id/issues/95
i was set breakpoints into all possible positions and I found only one which brings me to this plugin back )

I have the exact same problem :/
@cyril-colin but only in latest ios version?
this is my simulator config : (Sorry, I am totally new with apple universe...)

I had this problem when I enable Keychain sharing... but after I updated keychain groups I have not this error anymore. I don't understand what kind of sorcery make it works...
Hey, I was able to solve this issue by sending the third parameter for the 'set' function useTouchId to = false.
Turns out to be not optional hehe
hm....
Hey, a bit of an old issue but in case someone else may find this helpful. I was getting this exact error and my mistake was sending the value as an object, and it needs to be a string, so sending it with JSON.stringify() solved the issue.
var useTouchID = true;
Keychain.set('token', JSON.stringify({ access_token: access_token, refresh_token: refresh_token }), useTouchID) .catch(err => console.error('Error SETTING KEYCHAIN ', err));