mjwheatley / cordova-plugin-android-fingerprint-auth

A cordova plugin for fingerprint authentication using the hardware fingerprint scanner on devices running Android 6+
Apache License 2.0
168 stars 131 forks source link

ERROR: Plugin 'FingerprintAuth' not found, or is not a CDVPlugin. #69

Closed AugusDogus closed 7 years ago

AugusDogus commented 7 years ago

I am running both:

ionic plugin add cordova-plugin-android-fingerprint-auth and npm install --save @ionic-native/android-fingerprint-auth, but I still receive this error.

Full Log:

2017-04-03 16:58:48.023452 mya[1921:2347066] Apache Cordova native platform version 4.3.1 is starting. 2017-04-03 16:58:48.024595 mya[1921:2347066] Multi-tasking -> Device: YES, App: YES 2017-04-03 16:58:48.083509 mya[1921:2347066] Using UIWebView 2017-04-03 16:58:48.085356 mya[1921:2347066] [CDVTimer][handleopenurl] 0.097990ms 2017-04-03 16:58:48.087600 mya[1921:2347066] Unlimited access to network resources 2017-04-03 16:58:48.087789 mya[1921:2347066] [CDVTimer][intentandnavigationfilter] 2.310038ms 2017-04-03 16:58:48.088017 mya[1921:2347066] [CDVTimer][gesturehandler] 0.118971ms 2017-04-03 16:58:48.111771 mya[1921:2347066] [CDVTimer][splashscreen] 23.658991ms 2017-04-03 16:58:48.121081 mya[1921:2347066] [CDVTimer][statusbar] 9.119987ms 2017-04-03 16:58:48.122467 mya[1921:2347066] [CDVTimer][keyboard] 1.228034ms 2017-04-03 16:58:48.122596 mya[1921:2347066] [CDVTimer][TotalPluginStartup] 37.374020ms 2017-04-03 16:58:48.437972 mya[1921:2347066] Resetting plugins due to page load. 2017-04-03 16:58:51.373190 mya[1921:2347066] Ionic Native: deviceready event fired after 2420 ms 2017-04-03 16:58:52.188839 mya[1921:2347066] Finished load of: file:///var/containers/Bundle/Application/74C1A997-BB30-4EF8-A8F0-4C53D9C682CF/mya.app/www/index.html 2017-04-03 16:58:52.196404 mya[1921:2347066] ERROR: Plugin 'FingerprintAuth' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml. 2017-04-03 16:58:52.196577 mya[1921:2347066] -[CDVCommandQueue executePending] [Line 142] FAILED pluginJSON = ["FingerprintAuth1011715080","FingerprintAuth","availability",[{}]]

AugusDogus commented 7 years ago

A combination of deleting my project, restoring from backup, and upgrading to Ionic 3 fixed this issue. Consider this closed.