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

google play services issue w/ other plugins #34

Closed
dklinzing opened this issue May 31, 2016 · 5 comments
Closed

google play services issue w/ other plugins #34

dklinzing opened this issue May 31, 2016 · 5 comments

Comments

@dklinzing
Copy link

It looks like this plugin currently conflicts w/ the following two plugins due to the google play services version referenced. Both plugins below are currently referencign 8.4.0.
Push Plugin: https://github.com/NativeScript/push-plugin
Google Analytics Plugin: https://github.com/sitefinitysteve/nativescript-googleanalytics

Can this be specifically set in this plugin to the following so it also uses the same version as both plugins above?
dependencies {
compile 'com.google.android.gms:play-services-maps:8.4.0'
}

@dapriett
Copy link
Owner

I have it currently setup to use the latest version installed compile 'com.google.android.gms:play-services-maps:+'. You can maybe try uninstalling any later versions of the sdk with the Android SDK Manager, then I believe it should use 8.4.0.

Maybe it would be best if they changed their plugins to do the same, that way you're always using the latest installed. Otherwise, I'm not sure the best way to keep them all in sync.

@dklinzing
Copy link
Author

Unfortunately we're building using the Telerik Platform, so we don't have control over the google play service version installed. I'll check w/ the other plugin developers to see if they can use latest version installed.

@mini-eggs
Copy link

I was just having this issue between three plugins. admob + push-notifications + google-maps-sdk.

In the include.gradle for each plugin I replaced the previous junk with this:
dependencies {
compile "com.google.android.gms:play-services-ads:9.0.0"
}

tns platform remove android
tns run android
Should spin it right!

@dapriett
Copy link
Owner

dapriett commented Aug 3, 2016

Looks like this issue is resolved - at least for this plugin.

@dapriett
Copy link
Owner

dapriett commented Aug 21, 2016

I added the ability now to set the SDK version - see commit 9a92655.

Hopefully that solve your issues. If so, maybe you can ask the other plugins that depend on Google Play Services to reference the same property.

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

No branches or pull requests

3 participants