Closed TexxUkr closed 5 years ago
Hi @TexxUkr,
Checking it
This is the source of this problem in the build.gradle file.
implementation "com.google.firebase:firebase-core:+"
This is due Google deploying new dependencies including breaking changes to android codebase (preparing androidx). The following pushwoosh-react-native-plugin
dependencies are pulling the changes that break compiling :
com.google.firebase:firebase-core:+
com.google.firebase:firebase-messaging:+
You can update it by yourself or wait for this PR to be merged.
Thanks a lot JanithaR, Sangrene, wfhm!
Updating the dependencies solves the issue. Will be waiting for the release as well. Thanks
Alternatively, you could do the following changes to the /app/build.gradle file.
implementation (project(':pushwoosh-react-native-plugin')) {
exclude group: 'com.google.firebase', module: 'firebase-core'
exclude group: 'com.google.firebase', module: 'firebase-messaging'
}
implementation 'com.google.firebase:firebase-core:16.0.9'
implementation 'com.google.firebase:firebase-messaging:18.0.0'
@JanithaR @Sangrene @TexxUkr
Fixed with the latest release.
The issue appears on compilation stage for android:
FAILURE: Build failed with an exception.
Steps to reproduce:
OR
Additional: I have been using pushwoosh-react-native-plugin in my project for some period of time without issues but starting from today I am not able to build release anymore.