Closed sagrawal31 closed 5 years ago
Keeping it open for a few days for comments.
This PR is still in thought whether we want to really use the latest dependencies from Firebase which will actually require cordova-android
to be upgraded to 8.0.0
.
If we still want to keep support for cordova-android 7.x
then we might need to compromise on Firebase dependencies by not using the latest releases as mentioned here.
So we are calling for a vote to keep support for cordova-android
7.x or not. Please react with 👍 to keep support for cordova-android
7.x and react with 👎 to drop support for cordova-android
7.x and merge & release PR.
I think the best way to move forward would be creating a 3.x release first, with support for Cordova-android 7.x and the libraries fixed via plugin.xml to the older firebase release (as noted here). After that merge this PR and create 4.x release.
Yes @maximilianloy I'm doing the same.
Released v3.3.0 to support cordova-android 7.x.x
. https://github.com/wizpanda/cordova-plugin-firebase-lib/pull/14#issuecomment-503499409
v4.0.0 was released which supports cordova-android 8.0.0
and fixes this issue because of breaking changes released by Google Firebase on Jun 17, 2019.
v4.0.0 was released which supports
cordova-android 8.0.0
and fixes this issue because of breaking changes released by Google Firebase on Jun 17, 2019.
I made it work after 1 week of learning in cordova with firebase. Thanks for sharing your knowledge!
Great! @DivingIoT did you used this plugin or something else?
Great! @DivingIoT did you used this plugin or something else?
So far I only use that plugin
On Jun 17, 2019, Google released some breaking changes:
Now, the first necessary change we need to make is:
Now as per Android's gradle-plugin: to support a minimum of
v3.2.1
, we need to useGradle 4.6
:But the
cordova-android<=7.1.4
usesGradle 4.1
so we need to upgrade thecordova-android
to a minimum ofv8.0.0
as Gradle has been upgraded toGradle 4.10.1
https://github.com/apache/cordova-android/blob/rel/8.0.0/RELEASENOTES.md#800-feb-13-2019So cordova-android >= 8.0.0 is required on this plugin now.
Although, you can upgrade the Gradle manually in your existing
cordova-android 7.x
versions but that will require many manual changes.This PR support the latest builds shipped by Firebase.