Only include those google play services that are required
See original GitHub issueRight now you include the following in your ./mixpanel-android/build.gradle
:
// Note- *all* dependencies are marked as optional in our final
// pom! If you need a transitive dependency in the library, you'll
// have to change the bit in uploadArchives that marks all dependencies as optional.
dependencies {
compile "com.google.android.gms:play-services:[3.1,)"
}
However, if Mixpanel does need to include some of Google Play Services, it can do so more granularly, for example:
compile 'com.google.android.gms:play-services-base:7.5.0'
compile 'com.google.android.gms:play-services-maps:7.5.0'
compile 'com.google.android.gms:play-services-location:7.5.0'
...
I’m not sure if using open ended versioning (i.e. [3.1,) ) affects your ability to do this, but it might be good to specify Mixpanel’s requirements explicitly.
Issue Analytics
- State:
- Created 8 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Gmail requires one or more Google Play Services that are ...
Gmail requires one or more Google Play Services that are currently not available. Gmail app was working correctly until I clicked on email ......
Read more >Google Play services explanation now directly included in ...
Play services powers many features on Android devices, and Google is now offering an explanation directly on your phone...
Read more >Google Play Services - Everything you need to know
Google Play Services is one of the most powerful pieces of software that people hardly know anything about. Learn everything you need here....
Read more >What Is Google Play Services? Why Do You Need It?
Google Play Game Services: These services are used to create a more competitive and immersive experience in multiplayer gaming sessions through leaderboards and ......
Read more >Set up Google Play services
Declare dependencies for Google Play services · Open the build.gradle file inside your app's module directory. · For each SDK that your app...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks guys! I have a pr for it! #333
@rajuashok check this: https://mixpanel.com/help/reference/android You should only need compile ‘com.google.android.gms:play-services-gcm:8.3.0’ compile ‘com.google.android.gms:play-services-base:8.3.0’