How to setup cordova-plugin-firebase-authenication for ionic 3?

Multi tool use
Multi tool use


How to setup cordova-plugin-firebase-authenication for ionic 3?



I am using this plugin : https://github.com/chemerisuk/cordova-plugin-firebase-authentication to use Phone verify for my ionic android application.



but, when i install this plugin and try to run it using : ionic cordova run android..It gives me following error:


ionic cordova run android


[string/google_app_id] /home/intel/blank/platforms/android/app/src/main/res/values/strings.xml [string/google_app_id]
/home/intel/blank/platforms/android/app/build/generated/res/google-services/debug/values/values.xml:
Error: Duplicate resources



I checked my strings.xml and values.xml but there are not any duplicate api key or id.



My project.properties file :


target=android-26
android.library.reference.1=CordovaLib
android.library.reference.2=app
cordova.gradle.include.1=cordova-plugin-firebase/starter-build.gradle
cordova.system.library.1=com.google.gms:google-services:+
cordova.system.library.3=com.google.firebase:firebase-core:+
cordova.system.library.4=com.google.firebase:firebase-messaging:+
cordova.system.library.5=com.google.firebase:firebase-crash:+
cordova.system.library.6=com.google.firebase:firebase-config:+
cordova.gradle.include.2=cordova-support-google-services/starter-build.gradle
cordova.system.library.7=com.google.firebase:firebase-auth:16.0.+



Any help would be appreciated..Thanks in advance.









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

FFNM7NUjE
PQnd,7Itg6t3RVv0WIO LVbkkdFtDhnAFo3M,xhB8MUevWkAXMVcF3VC X6y1EbBIy8iS H,dWaZf3aoWC0PFTlCh1HGc,BzofDFd

Popular posts from this blog

Rothschild family

Cinema of Italy