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

后端 未结 10 1447
花落未央
花落未央 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:31

    1. First Answer

    We have created a PR for this https://github.com/wizpanda/cordova-plugin-firebase-lib/pull/13 but that requires upgrade of cordova-android to 8.0.0.

    A workaround is being done for cordova-android 7.x but meanwhile, a discussion is also ongoing whether to keep support for it or not.

    2. Edit - Jun 19, 2019

    A new version v3.3.0 is released to fix the issue caused by Google Firebase release which supports cordova-android <= 7.1.4. https://github.com/wizpanda/cordova-plugin-firebase-lib/pull/14#issuecomment-503499409

    cordova plugin remove cordova-plugin-firebase-lib
    # Or if you were using original fork
    #cordova plugin remove cordova-plugin-firebase
    cordova plugin add cordova-plugin-firebase-lib@3.3.0
    

    3. Edit - Jun 20, 2019

    A new version v4.0.1 is released to fix the issue caused by Google Firebase release which supports cordova-android >= 8.0.0. https://github.com/wizpanda/cordova-plugin-firebase-lib/pull/14#issuecomment-503499409

    cordova plugin remove cordova-plugin-firebase-lib
    # Or if you were using original fork
    #cordova plugin remove cordova-plugin-firebase
    cordova plugin add cordova-plugin-firebase-lib
    

提交回复
热议问题