Ionic Cordova app stopped compiling after Google's June 17th Firebase SDK update

后端 未结 10 1502
花落未央
花落未央 2020-11-28 06:54

I\'m unable to compile Ionic Cordova App after Firebase Major version update with Breaking Changes, specifically with June 17, 2019 update.

I tried downgrading to An

10条回答
  •  青春惊慌失措
    2020-11-28 07:57

    Having in platform/android/project.properties following settings :

    cordova.gradle.include.1=cordova-plugin-firebase/app-build.gradle
    cordova.system.library.4=com.google.firebase:firebase-core:+
    cordova.system.library.5=com.google.firebase:firebase-messaging:+
    cordova.system.library.6=com.google.firebase:firebase-config:+
    cordova.system.library.7=com.google.firebase:firebase-perf:+
    

    I had the same issue (error: resource android:attr/ttcIndex not found).

    cordova-android@8.0.0 + cordova-plugin-androidx + cordova-plugin-androidx-adapter worked for me perfectly.

    Thanks for this solution.

    I am just wondering if it is a good long time bet to use those two plugins. Any opinion ?

提交回复
热议问题