EddyVerbruggen / cordova-plugin-touch-id

:nail_care: 👱‍♂️ Forget passwords, use a fingerprint scanner!
MIT License
214 stars 72 forks source link

Error [NSNull dataUsingEncoding:]: unrecognized selector sent to instance #95

Open WuglyakBolgoink opened 4 years ago

WuglyakBolgoink commented 4 years ago

Hallo after we changed settings for WkWebView ONLY in cordova-ios@5.1.1 our biometric log-in doesn't work anymore...

possible place where it can happens is here:

https://github.com/EddyVerbruggen/cordova-plugin-touch-id/blob/master/src/ios/TouchID.m#L208

How we can fix this?

2020-06-25 13:05:58.011041+0200 App IPA 82[1310:612104] -[NSNull dataUsingEncoding:]: unrecognized selector sent to instance 0x200113c30
2020-06-25 13:05:58.011258+0200 App IPA 82[1310:611643] [Process] kill() returned unexpected error 1
2020-06-25 13:05:58.012067+0200 App IPA 82[1310:612104] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSNull dataUsingEncoding:]: unrecognized selector sent to instance 0x200113c30'
*** First throw call stack:
(0x1c2906a48 0x1c262dfa4 0x1c280a5a8 0x1c290aaf4 0x1c290ca7c 0x104116dfc 0x104116ca4 0x104115dd8 0x10458d7fc 0x10458ebd8 0x1045912d4 0x1045a0160 0x1045a0a88 0x1c2622b48 0x1c2625760)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)