-
-
Notifications
You must be signed in to change notification settings - Fork 468
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Due to recent google firebase service changes gradle build is getting failed. #279
Comments
cordova plugin add cordova-plugin-firebasex --variable ANDROID_FIREBASE_MESSAGING_VERSION=20.1.0 after updated ANDROID_FIREBASE_MESSAGING_VERSION, the gradle build got succeeded. let me check it further. |
@nandhu Updating FIREBASE_MESSAGING solved the build issue but instantVerification is set to false initially and when device receives SMS, instantVerification is set to true and the code is extracted wrongly. Where as, earlier instantVerification is set to be true always ( in latest andriod devices) and when device receives SMS the code was getting extracted correctly. Can anyone let me know what's the issue with updating latest version of FIREBASE_MESSAGING? |
Plugin is not working anymore. I am testing with real android device and SMS is not being received by the device. I guess plugin is failing to initiate SMS sending procedure. Please, provide updates regarding the issue. |
I have regression tested v9.0.0 of the plugin using the example project and SMS was received on both iOS & Android devices. Please re-test using the example project and confirm whether you obtain the same results. |
Tried to build the example project but ended up with following build errors: BUILD FAILED in 3s
FAILURE: Build failed with an exception.
|
Something has gone wrong in your build with resolution of Firebase SDK dependencies via Gradle. console output
|
Any idea on how to overcome the build error? |
Try repeating the exact same build steps as in my console output:
If the build fails run |
I did manage to build and run the example project. Issue was that I didn't include "google-services.json" after including it I could successfully build and run the example project on my android device. And still I am unable to receive the SMS even from the example project. |
I could figure out that irrespective of phone numbers verificationId string remains the same.
|
Bug report
Due to recent google firebase service changes gradle build is getting failed.
https://firebase.google.com/support/release-notes/android#2020-01-14
Current behavior:
gradle build failed.
Expected behavior:
Sync with gradle should executed successfully.
Steps to reproduce:
Screenshots
Environment information
9.0.0 (cordova-lib@9.0.1)
android 8.1.0
cordova-plugin-androidx 1.0.2 "cordova-plugin-androidx" cordova-plugin-androidx-adapter 1.1.0 "cordova-plugin-androidx-adapter" cordova-plugin-device 2.0.2 "Device" cordova-plugin-firebase-analytics 4.0.1 "FirebaseAnalyticsPlugin" cordova-plugin-firebasex 7.0.1 "Google Firebase Plugin" cordova-plugin-ionic-keyboard 2.2.0 "cordova-plugin-ionic-keyboard" cordova-plugin-ionic-webview 4.1.3 "cordova-plugin-ionic-webview" cordova-plugin-splashscreen 5.0.2 "Splashscreen" cordova-plugin-whitelist 1.3.4 "Whitelist" cordova-sqlite-storage 4.0.0 "Cordova sqlite storage plugin - cordova-sqlite-storage plugin version" cordova-support-android-plugin 1.0.1 "cordova-support-android-plugin" cordova-support-google-services 1.3.2 "cordova-support-google-services"
Version 1809 (OS build 17763.973)
_
Android build issue:
v10.16.3
4.10.3
Console output
ERROR: In project 'app' a resolved Google Play services library dependency depends on another at an exact version (e.g. "[20.0. 0]", but isn't being resolved to that version. Behavior exhibited by the library will be unknown.
Dependency failing: com.google.firebase:firebase-messaging:20.0.0 -> com.google.firebase:firebase-iid@[20.0.0], but fire
base-iid version was 20.0.2.
The following dependencies are project dependencies that are direct or have transitive dependencies that lead to the art
ifact with the issue.
-- Project 'app' depends onto com.google.firebase:firebase-messaging@20.0.0
-- Project 'app' depends onto com.google.firebase:firebase-analytics@17.2.2
-- Project 'app' depends onto com.google.android.gms:play-services-measurement-api@17.2.2
-- Project 'app' depends onto com.google.firebase:firebase-config@19.0.3
-- Project 'app' depends onto com.google.firebase:firebase-analytics@17.2.1
-- Project 'app' depends onto com.google.android.gms:play-services-tagmanager-api@17.0.0
-- Project 'app' depends onto com.google.firebase:firebase-iid@20.0.2
-- Project 'app' depends onto com.google.android.gms:play-services-tagmanager@17.0.0
-- Project 'app' depends onto com.google.firebase:firebase-perf@19.0.1
-- Project 'app' depends onto com.google.firebase:firebase-analytics@17.2.+
For extended debugging info execute Gradle from the command line with ./gradlew --info :app:assembleDebug to see the dep
endency paths to the artifact. This error message came from the google-services Gradle plugin, report issues at https://
github.com/google/play-services-plugins and disable by adding "googleServices { disableVersionCheck = false }" to your b
uild.gradle file.
Other information:
The text was updated successfully, but these errors were encountered: