EddyVerbruggen / cordova-plugin-touch-id

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

Cordova 9 not working #81

Closed biblioeteca closed 5 years ago

biblioeteca commented 5 years ago

I compiled my app multiples times with cordova 7 and it works fine. I have to update to cordova 9 because others plugins and after building the app on ios I receive this message (and the fingerprint window is not shown):

2019-08-05 10:51:02.742157+0200 NoMorePass[4835:6091537] CDVPlugin class TouchID (pluginName: TouchID) does not exist.

2019-08-05 10:51:02.742211+0200 NoMorePass[4835:6091537] ERROR: Plugin 'TouchID' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.

2019-08-05 10:51:02.742415+0200 NoMorePass[4835:6091537] -[CDVCommandQueue executePending] [Line 142] FAILED pluginJSON = ["TouchID436650178","TouchID","isAvailable",[]]

There is some solution for this?

biblioeteca commented 5 years ago

UPDATE: I figured out how to get rid this error BUT now the app is not showing the fingerprint screen the first time (only if I pause the app and open it again). I still debugging, but I see no more relevant error mesages on Xcode console.

biblioeteca commented 5 years ago

UPDATE: the last problem was not caused by the plugin. Finally I have been able to compile all with cordova 9 in ios without issues.