conflict with firebase plugin
See original GitHub issueI’m submitting a … (check one with “x”) [ ] question [x] any problem or bug report [ ] feature request
The plugin version: (check one with “x”) [ ] 1.4.x (deprecated, no more supported) [x] 2.0.0-beta3 (github) [ ] 2.0 (npm)
If you choose ‘problem or bug report’, please select OS: (check one with “x”) [x] Android [ ] iOS 10* [ ] iOS 11
cordova information: (run $> cordova plugin list
)
cordova-plugin-compat 1.1.0 "Compat"
cordova-plugin-console 1.0.7 "Console"
cordova-plugin-device 1.1.6 "Device"
cordova-plugin-fcm 2.1.2 "FCMPlugin"
cordova-plugin-firebase 0.1.21 "Google Firebase Plugin"
cordova-plugin-geolocation 2.4.3 "Geolocation"
cordova-plugin-googlemaps 2.0.0-beta3-20170905-1257 "cordova-plugin-googlemaps"
cordova-plugin-nativestorage 2.2.2 "NativeStorage"
cordova-plugin-splashscreen 4.0.3 "Splashscreen"
cordova-plugin-statusbar 2.2.3 "StatusBar"
cordova-plugin-whitelist 1.3.2 "Whitelist"
ionic-plugin-deeplinks 1.0.15 "Ionic Deeplink Plugin"
ionic-plugin-keyboard 2.2.1 "Keyboard"
{}
If you use @ionic-native/google-maps
, please show me the package.json
{
"name": "Project",
"version": "0.0.1",
"author": "Ionic Framework",
"homepage": "http://ionicframework.com/",
"private": true,
"scripts": {
"clean": "ionic-app-scripts clean",
"build": "ionic-app-scripts build",
"lint": "ionic-app-scripts lint",
"ionic:build": "ionic-app-scripts build",
"ionic:serve": "ionic-app-scripts serve"
},
"dependencies": {
"@angular/common": "4.1.3",
"@angular/compiler": "4.1.3",
"@angular/compiler-cli": "4.1.3",
"@angular/core": "4.1.3",
"@angular/forms": "4.1.3",
"@angular/http": "4.1.3",
"@angular/platform-browser": "4.1.3",
"@angular/platform-browser-dynamic": "4.1.3",
"@ionic-native/core": "^3.12.1",
"@ionic-native/deeplinks": "^4.1.0",
"@ionic-native/fcm": "^4.1.0",
"@ionic-native/geolocation": "^4.1.0",
"@ionic-native/google-maps": "^4.2.1",
"@ionic-native/native-storage": "^4.1.0",
"@ionic-native/splash-screen": "3.12.1",
"@ionic-native/status-bar": "3.12.1",
"@ionic/storage": "2.0.1",
"angularfire2": "^4.0.0-rc.1",
"cordova-android": "^6.2.3",
"cordova-browser": "^4.1.0",
"cordova-plugin-compat": "^1.1.0",
"cordova-plugin-console": "^1.0.7",
"cordova-plugin-device": "^1.1.6",
"cordova-plugin-fcm": "^2.1.2",
"cordova-plugin-firebase": "git+https://github.com/apptum/cordova-plugin-firebase.git",
"cordova-plugin-geolocation": "^2.4.3",
"cordova-plugin-googlemaps": "git+https://github.com/mapsplugin/cordova-plugin-googlemaps.git#multiple_maps",
"cordova-plugin-nativestorage": "^2.2.2",
"cordova-plugin-splashscreen": "^4.0.3",
"cordova-plugin-statusbar": "^2.2.3",
"cordova-plugin-whitelist": "^1.3.2",
"firebase": "^4.2.0",
"ionic-angular": "^3.6.0",
"ionic-plugin-deeplinks": "^1.0.15",
"ionic-plugin-keyboard": "^2.2.1",
"ionicons": "3.0.0",
"promise-polyfill": "^6.0.2",
"rxjs": "5.4.0",
"sw-toolbox": "3.6.0",
"zone.js": "0.8.12"
},
"devDependencies": {
"@ionic/app-scripts": "^2.1.3",
"ionic": "3.9.1",
"typescript": "2.3.4"
},
"description": "An Ionic project",
"cordova": {
"plugins": {
"cordova-plugin-geolocation": {},
"cordova-plugin-console": {},
"cordova-plugin-device": {},
"cordova-plugin-splashscreen": {},
"cordova-plugin-statusbar": {},
"cordova-plugin-whitelist": {},
"ionic-plugin-keyboard": {},
"cordova-plugin-nativestorage": {},
"ionic-plugin-deeplinks": {
"URL_SCHEME": "myapp",
"DEEPLINK_SCHEME": "https",
"DEEPLINK_HOST": "ex.com.com",
"ANDROID_PATH_PREFIX": "/"
},
"cordova-plugin-fcm": {},
"cordova-plugin-firebase": {},
"cordova-plugin-googlemaps": {
"API_KEY_FOR_ANDROID": "AIzaSyARbzj9AoFrY0sxxxxxxxx",
"API_KEY_FOR_IOS": "AIzaSyARbzj9AoFrY07xxxxxxxxxxxxx"
}
},
"platforms": [
"android",
"browser"
]
}
}
Current behavior:
I have a project with firebase plugin for ionic, the project run and compile without any problems until I add this plugin Expected behavior:
Steps to reproduce: add new project with firebase plugin then add this plugin…
Related code, data or error log (please format your code or data):
Found com.google.android.gms:play-services-maps:+, but version 9.0.0 is needed for the google-services plugin.
Found com.google.android.gms:play-services-location:+, but version 9.0.0 is needed for the google-services plugin.
:processDebugGoogleServices FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':processDebugGoogleServices'.
> Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at https://bintray.com/android/android-tools/com.google.gms.google-services/) or updating the version of com.google.android.gms to 9.0.0.
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (1 by maintainers)
Top GitHub Comments
sorry @AsimNet install
cordova plugin add cordova-android-play-services-gradle-release
cordova plugin add cordova-android-support-gradle-release
cordova plugin add cordova-google-api-version --variable GOOGLE_API_VERSION=11.0.1
fix
fix me:
cordova-android-play-services-gradle-release 0.0.2 “cordova-android-play-services-gradle-release”
cordova-android-support-gradle-release 0.0.2 “cordova-android-support-gradle-release”
cordova-google-api-version 0.0.1 “cordova-google-api-version”