OiRc
OiRc

Reputation: 1622

Differences between google play services client and google play package version

i notice this into my logcat:

I/Google Maps Android API(2924): Google Play services client version: 5089000
I/Google Maps Android API(2924): Google Play services package version: 5089034

i know that these are two different versions of google play services.Can someone tell me the differences between these version?

Should their version be the same?

Upvotes: 0

Views: 2498

Answers (3)

oskarko
oskarko

Reputation: 4178

@amalBit, you're wrong.

client version is what you've added to gradle dependencies.

Package version : Is the actual version of the google play services installed in your phone.

client version : Is what you add to your project. (Google play service Lib)

Upvotes: 1

cake42
cake42

Reputation: 11

I wouldn't say that you should always have the "latest" version supported. For example, if you do something like this in build.gradle

   compile 'com.google.android.gms:play-services:+'

it will use the latest package version available. But sometimes, an update is released through the sdk to developers much before its counterpart client version hits the Play Store. @Cimat, I believe this reason behind the problem you had. Staying only as updated as the available client version ensures crashes don't happen, while providing you with the upgrades. Android automatically updates the Google Play Services jar anyways, so you need not worry about user laziness.

Upvotes: 1

amalBit
amalBit

Reputation: 12181

Package version : Is what you add to your project. (Google play service Lib)
client version : Is the actual version of the google play services installed in your phone.

Upvotes: 3

Related Questions