Skip to content
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

Dependency conflict with firebase plugins on play-services-base #4

Closed
daniel-v opened this issue Apr 9, 2018 · 5 comments
Closed
Labels
enhancement New feature or request

Comments

@daniel-v
Copy link

daniel-v commented Apr 9, 2018

Current firebase plugins depend on 11.8.0 while geolocation on 12.0.1. Don't know what the resolution is and not a big mobile developer. Tips how this could be resolved?

@daniel-v
Copy link
Author

daniel-v commented Apr 9, 2018

Temporary workaround in app/build.gradle

configurations.all {
    resolutionStrategy.eachDependency { DependencyResolveDetails details ->
        if (details.requested.group == 'com.google.android.gms' && details.requested.name == 'play-services-location') {
            details.useVersion '11.8.0'
        }
    }
}

@lukaspili
Copy link
Contributor

Thanks for the report. I will match the plugin's firebase version to other firebase plugins.

@lukaspili lukaspili added the enhancement New feature or request label Apr 9, 2018
@flutterite
Copy link

For me that workaround does not work, gives multidex error.

@lukaspili
Copy link
Contributor

@flutterite use this:

configurations.all {
    resolutionStrategy {
        eachDependency { details ->
            if (details.requested.group == 'com.google.android.gms' ||
                    details.requested.group == 'com.google.firebase') {
                details.useVersion "11.8.0"
            }
        }
    }
}

@lukaspili
Copy link
Contributor

Fixed in 0.2.1.
Matched version to Flutter's firebase plugins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants