Does the Google Play API contain com.google.android.gms.appstate.AppStateManager?
I am using google play services API and from the old version of the code I have included the whole library. Now I want to use selectively compile API from this link https://developers.google.com/android/guides/setup . But I can't seem to find what com.google.android.gms.appstate.AppStateManager comes from.
I already have this
compile 'com.google.android.gms:play-services-base:7.5.0'
compile 'com.google.android.gms:play-services-identity:7.5.0'
compile 'com.google.android.gms:play-services-ads:7.5.0'
compile 'com.google.android.gms:play-services-games:7.5.0'
compile 'com.google.android.gms:play-services-plus:7.5.0'
but none of them have. Please, help.
+4
Le duy khanh
source
to share
2 answers
AppStateManager
AppStateManager
DEPRECATED , so they hid the AppState Play Services dependency.
At the moment, you can still get it through the next dependency, but most likely it will be removed soon.
compile 'com.google.android.gms:play-services-appstate:7.8.0'
+2
mikepenz
source
to share
Add the following dependency to build.gradle
compile 'com.google.android.gms:play-services-appstate:9.0.0'
This is a job for me
-2
Lalit baghel
source
to share