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

Unable to install with existing build-extras.gradle #62

Closed RYFN closed 7 years ago

RYFN commented 7 years ago

My cordova project already contains a build-extras.gradle file. When I cordova plugin add cordova-plugin-android-fingerprint-auth it results in the following error:

Fetching plugin "cordova-plugin-android-fingerprint-auth" via npm
Installing "cordova-plugin-android-fingerprint-auth" for android
Error during processing of action! Attempting to revert...
Failed to install 'cordova-plugin-android-fingerprint-auth':Error: Uh oh!
"/Users/me/Documents/Projects/project-name/platforms/android/build-extras.gradle" already exists!

I've had to manually remove my existing build-extras.gradle file, then merge in the contents for this plugin - is this something that could be handled automatically?

mjwheatley commented 7 years ago

build-extras.gradle was removed from plugin as of version 1.2.8