question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

conflict with firebase plugin

See original GitHub issue

I’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:closed
  • Created 6 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
gbelmmcommented, Sep 8, 2017

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

2reactions
gbelmmcommented, Sep 7, 2017

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”

Read more comments on GitHub >

github_iconTop Results From Across the Web

Plugin and Version Conflict with Firebase Messaging
I reached the first major conflict because of Flutter_Form_Builder. Even the latest version required Intl plugin to be version 0.16.1 but ...
Read more >
[Firebase Mobile] Incompatibility(conflicts ... - OutSystems
yes, there's a known conflict of cordova-plugin-firebase with cordova-plugin-googleplus, now that is because of the Gradle version ...
Read more >
Firebase plugins has a conflict (fcm and analytics) #50 - GitHub
Installing both cordova-plugin-fcm and cordova-plugin-firebase-analytics result in an error that does not allow building using cordova.
Read more >
[Unity] Google Play sdk conflicts
I am already using Stan's Assets Android Native+Google Play for Unity SDK and i have a lot of conflicts between the Firebase Unity...
Read more >
Does this conflict with Integrate Firebase Pro Firebase Auth?
I was wondering if this plugin is known to conflict with the integrate firebase pro firebase auth? Every JWT plugin I have tried...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found