Open halaharr opened 6 years ago
Hi @halaharr,
Why are you setting firebaseMessagingVersion = "+" in the app.gradle? The problem most-probably comes from the different versions that your app use, and the fixed version that the push-plugin uses:
compile 'com.google.firebase:firebase-messaging:12.0.1'
Aside from that, the push-plugin is now deprecated, and you'd better switch to the Firebase plugin (especially if you are beginning with push notifications). Also, you might not hit this issue there ;)
Make sure to check the demo app(s) for sample usage
Make sure to check the existing issues in this repository
If the demo apps cannot help and there is no issue for your problem, tell us about it
Please, ensure your title is less than 63 characters long and starts with a capital letter.
Which platform(s) does your issue occur on?
Please, provide the following version numbers that your issue occurs with:
Execution failed for task ':app:processF0F1F2F3F4F5F6F7F8DebugGoogleServices'.
tns --version
to fetch it) 3.4.1node_modules/tns-core-modules/package.json
file in your project)"tns-android"
and"tns-ios"
properties in thepackage.json
file of your project)Plugin(s): (look for the version numbers in the
package.json
file of your "nativescript-push-notifications": "^1.1.5", project and paste your dependencies and devDependencies here)"dependencies": { "lodash": "^4.17.5", "nativescript-10hook-release-info": "^1.0.0", "nativescript-appversion": "^1.4.1", "nativescript-background-http": "^3.2.0", "nativescript-camera": "3.2.1", "nativescript-directions": "1.2.0", "nativescript-drop-down": "3.2.4", "nativescript-email": "^1.5.1", "nativescript-fresco": "^3.0.6", "nativescript-geolocation": "4.2.3", "nativescript-google-maps-sdk": "2.5.0", "nativescript-imagepicker": "5.0.0", "nativescript-iqkeyboardmanager": "1.2.0", "nativescript-localstorage": "^1.1.5", "nativescript-open-app": "^0.2.0", "nativescript-permissions": "^1.2.3", "nativescript-phone": "^1.3.1", "nativescript-push-notifications": "^1.1.5", "nativescript-theme-core": "^1.0.4", "nativescript-ui-calendar": "^3.5.0", "tns-core-modules": "3.4.1" }, "devDependencies": { "babel-traverse": "6.26.0", "babel-types": "6.26.0", "babylon": "6.18.0", "filewalker": "0.1.2", "lazy": "1.0.11", "nativescript-dev-typescript": "^0.5.1", "tns-platform-declarations": "^3.1.1", "typescript": "^2.4.1" }
Please, tell us how to recreate the issue in as much detail as possible.
(1) Added the plugin (2) Added google-services.json (3) Updated app.gradle (firebaseMessagingVersion = "+") (4) ran tns build android
Is there any code involved?