BaseGameUtils Gamehelper SingIn failed - android

LogCat for the GameHelper tag:
06-21 02:39:44.898: D/GameHelper(14315): GameHelper: Debug log enabled.
06-21 02:39:44.898: D/GameHelper(14315): GameHelper: Setup: requested clients: 1
06-21 02:41:59.378: D/GameHelper(19740): GameHelper: Debug log enabled.
06-21 02:41:59.378: D/GameHelper(19740): GameHelper: Setup: requested clients: 1
06-21 02:41:59.473: D/GameHelper(19740): GameHelper: beginUserInitiatedSignIn: resetting attempt count.
06-21 02:41:59.543: D/GameHelper(19740): GameHelper: Starting USER-INITIATED sign-in flow.
06-21 02:41:59.543: D/GameHelper(19740): GameHelper: beginUserInitiatedSignIn: starting new sign-in flow.
06-21 02:41:59.543: D/GameHelper(19740): GameHelper: Starting connection.
06-21 02:42:00.268: D/GameHelper(19740): GameHelper: onConnectionFailed
06-21 02:42:00.268: D/GameHelper(19740): GameHelper: Connection failure:
06-21 02:42:00.268: D/GameHelper(19740): GameHelper: - code: SIGN_IN_REQUIRED(4)
06-21 02:42:00.268: D/GameHelper(19740): GameHelper: - resolvable: true
06-21 02:42:00.268: D/GameHelper(19740): GameHelper: - details: ConnectionResult{statusCode=SIGN_IN_REQUIRED, resolution=PendingIntent{41c25018: android.os.BinderProxy#41c4a710}}
06-21 02:42:00.268: D/GameHelper(19740): GameHelper: onConnectionFailed: WILL resolve because user initiated sign-in.
06-21 02:42:00.268: D/GameHelper(19740): GameHelper: onConnectionFailed: resolving problem...
06-21 02:42:00.268: D/GameHelper(19740): GameHelper: resolveConnectionResult: trying to resolve result: ConnectionResult{statusCode=SIGN_IN_REQUIRED, resolution=PendingIntent{41c25018: android.os.BinderProxy#41c4a710}}
06-21 02:42:00.268: D/GameHelper(19740): GameHelper: Result has resolution. Starting it.

In absence of much context I am guessing that your problem lies with needing to handle the result from the activity that's started in the last log line. That activity handles the login process and returns a result to your own Activity. You need to handle that result yourself. There is an example in the Google Play Games tutorial: https://developers.google.com/games/services/android/init
Search the tutorial page for onActivityResult - you need to override this method in your own Activity as shown in the tutorial example.
Some additional background: when you connect via GoogleApiClient to establish a connection to Google Play Games Services, that API attempts to authenticate the player. When the player is not logged in to the Games Services yet, then the GameHelper starts a new Activity to handle the login process. Once this activity returns, you need to handle the result from the log in.

Related

Google tag manager- No user property available for "item_id" and no default value was defined. Returning "undefined"

I am trying to integrate Firebase analytics and Google tag manager into my Android app. I have configured some tags and triggers over my GTM console. But i see the following error in my debug console in Android studio. What i am trying to achieve is send my events to both Firebase analytics, GTM and then push the same event to Google analytics using Google tag manager. My events are successfully pushed to Firebase analytics, but not to Google analytics.
Firebase event tracking:
Bundle params = new Bundle();
params.putString("screen_name", "Main activity");
mFirebaseAnalytics.logEvent("screenview", params);
Debug log:
04-06 21:27:19.701 14388-23135/com.droidowl.googletagmanager V/FA: Activity resumed, time: 1495667
04-06 21:27:21.098 14388-23135/com.droidowl.googletagmanager D/FA: Passing event to registered event handler (FE): screenview, Bundle[{screen_name=Main activity}]
04-06 21:27:21.103 14388-14829/com.droidowl.googletagmanager D/FA: Fetching user attributes (FE)
04-06 21:27:21.109 14388-23135/com.droidowl.googletagmanager V/FA: Using measurement service
04-06 21:27:21.109 14388-23135/com.droidowl.googletagmanager V/FA: Connecting to remote service
04-06 21:27:21.157 14388-23135/com.droidowl.googletagmanager D/FA: Connected to remote service
04-06 21:27:21.158 14388-23135/com.droidowl.googletagmanager V/FA: Processing queued up service tasks: 1
04-06 21:27:21.170 14388-14829/com.droidowl.googletagmanager W/GoogleTagManager: No user property available for "item_id" and no default value was defined. Returning "undefined".
04-06 21:27:21.174 14388-14829/com.droidowl.googletagmanager W/GoogleTagManager: No user property available for "item_id" and no default value was defined. Returning "undefined".
04-06 21:27:21.179 14388-23135/com.droidowl.googletagmanager D/FA: Logging event (FE): screenview, Bundle[{screen_name=Main activity, _o=app+gtm}]
04-06 21:27:26.190 14388-23135/com.droidowl.googletagmanager V/FA: Inactivity, disconnecting from AppMeasurementService
Play services version: 9.4.0

Android unable to play video from specific URL

I have run into a problem with playing a video from a specfic URL on Android 6.0 (sony experia mini). If I move the video to another URL I can play it. If I use a phone with Android 5.1 it works without problems.
The URL with the problem:
https://cloudadvice.blob.core.windows.net/devphotos/ff69f2ad-fd1e-48ed-9ea8-f85e65639165.mp4
Same file uploaded to dropbox (which works):
https://www.dropbox.com/s/8ftbwgavjptq9vq/ff69f2ad-fd1e-48ed-9ea8-f85e65639165%20%281%29.mp4?dl=1
I'm playing the file by writing these lines:
string videoUri = _helpRequest.VideoURL;
_videoView.SetVideoURI(Android.Net.Uri.Parse(videoUri));
I'm thinking that I've run into a bug on Android 6.0 which doesn't allow the "cloudadvice.blob.core.windows.net" in the url. Anyone tried something like this or know what might be wrong? Maybe someone got a workaround?
This is the output from the log:
06-21 11:08:46.772 D/MediaHTTPConnection(20417):
filterOutInternalHeaders: key=User-Agent, val= SonyD5803
Build/23.5.A.0.575 stagefright/1.2 (Linux;Android 6.0.1)
06-21 11:08:46.773 D/MediaHTTPConnection(20417):
filterOutInternalHeaders: key=x-wap-profile, val=
http://uaprof.sonymobile.com/D5803R2331.xml
06-21 11:08:46.774 D/MediaHTTPConnection(20417): proxy null port 0
06-21 11:08:47.113 W/MediaHTTPConnection(20417): readAt 392002 / 32768
=> java.net.ProtocolException
06-21 11:08:47.114 E/NuCachedSource2( 390): source returned error
-1010, 0 retries left 06-21 11:08:47.114 W/NuCachedSource2( 390): mFinalStatus: -1010, returning ERROR_UNSUPPORTED
06-21 11:08:47.114 E/QCExtractor( 390): ExtendedExtractor failed to
instantiate extractor
06-21 11:08:47.115 E/GenericSource( 390): Failed to init from data
source!
06-21 11:08:47.115 D/NuPlayerDriver( 390):
notifyListener_l(0xa9dc9300), (100, 1, -2147483648)
06-21 11:08:47.115 E/MediaPlayer(20417): error (1, -2147483648)
06-21 11:08:47.122 E/MediaPlayer(20417): Error (1,-2147483648)
06-21 11:08:47.122 D/VideoView(20417): Error: 1,-2147483648

Android game sign-in (Google Play Services) authorization failed because Drive API not enabled, but my game does not need Drive API

When I attempt to sign-in to my game application using Google Play Services, the login fails (error logs included below), and a dialog pops up that says "Unknown issue with Google Play services." I have the google-play-services_lib properly setup as a library dependency in Android Studio and my Activity extends the BaseGameActivity class.
As you can see in the Logs, it says the error is because: "Access Not Configured. The API (Drive API) is not enabled for your project." It comes from com.google.android.gms.drive.auth.c. However, nowhere in my Manifest file or in my code do I use the Drive API. I don't need this API at all, and have not imported or included it anywhere. I am simply calling the beginUserInitiatedSignIn(); method from the BaseGameActivity class. Why is this error message being generated?
I have noticed one line from the logs in particular that doesn't make much sense, but seems to be related:
I/GLSUser﹕ [GLSUser] getTokenFromCache: [account: , callingPkg: com.soerenwalls.gravlfree, service: oauth2:https://www.googleapis.com/auth/plus.login https://www.googleapis.com/auth/games https://www.googleapis.com/auth/drive.appdata https://www.googleapis.com/auth/appstate]
But I still can't wrap my head around why it's seemingly attempting to get data from the drive API. Any help would be really appreciated.
Here are the error logs as promised:
05-25 03:00:49.359 1250-1250/? V/GLSActivity﹕ AuthDelegateWrapperCreated with selected intent: Intent { cmp=com.google.android.gms/.auth.DefaultAuthDelegateService }
05-25 03:00:49.372 1448-1448/? D/ChimeraSrvcProxy﹕ Creating service proxy ComponentInfo{com.google.android.gms/com.google.android.gms.games.chimera.GamesAsyncServiceProxy}
05-25 03:00:49.372 1448-1448/? D/ChimeraSrvcProxy﹕ Proxying container service ComponentInfo{com.google.android.gms/com.google.android.gms.games.chimera.GamesAsyncServiceProxy} to Chimera service impl com.google.android.gms.games.service.PlayGamesAsyncService
05-25 03:00:49.372 1448-1448/? D/ChimeraCfgMgr﹕ Loading module com.google.android.gms.games from APK com.google.android.play.games
05-25 03:00:49.372 1448-1448/? D/ChimeraModuleLdr﹕ Module APK com.google.android.play.games already loaded
05-25 03:00:49.387 1250-9249/? I/GLSUser﹕ [GLSUser] getTokenFromCache: [account: <ELLIDED:-4362>, callingPkg: com.soerenwalls.gravlfree, service: oauth2:https://www.googleapis.com/auth/plus.login https://www.googleapis.com/auth/games https://www.googleapis.com/auth/drive.appdata https://www.googleapis.com/auth/appstate]
05-25 03:00:49.392 1250-9249/? I/Auth.Core﹕ [TokenCache] Missing snowballing token: no granted scopes set.
05-25 03:00:49.412 1448-21701/? V/AuthAccountOperation﹕ offline access is not requested; requesting access token
05-25 03:00:49.428 1250-1990/? I/GLSUser﹕ [GLSUser] getTokenFromCache: [account: <ELLIDED:-4362>, callingPkg: com.soerenwalls.gravlfree, service: oauth2:https://www.googleapis.com/auth/games https://www.googleapis.com/auth/plus.login https://www.googleapis.com/auth/appstate https://www.googleapis.com/auth/drive.appdata]
05-25 03:00:49.431 1250-1990/? I/Auth.Core﹕ [TokenCache] Missing snowballing token: no granted scopes set.
05-25 03:00:49.437 1448-21701/? V/AuthAccountOperation﹕ access token request successful
05-25 03:00:49.463 1448-21698/? W/BaseAppContext﹕ Using Auth Proxy for data requests.
05-25 03:00:49.466 1448-21698/? W/BaseAppContext﹕ Using Auth Proxy for data requests.
05-25 03:00:49.476 1250-1278/? I/GLSUser﹕ [GLSUser] getTokenFromCache: [account: <ELLIDED:-4362>, callingPkg: com.soerenwalls.gravlfree, service: oauth2:https://www.googleapis.com/auth/plus.login https://www.googleapis.com/auth/games https://www.googleapis.com/auth/drive.appdata https://www.googleapis.com/auth/appstate]
05-25 03:00:49.481 1250-1278/? I/Auth.Core﹕ [TokenCache] Missing snowballing token: no granted scopes set.
05-25 03:00:49.490 1250-1990/? I/GLSUser﹕ [GLSUser] getTokenFromCache: [account: <ELLIDED:-4362>, callingPkg: com.soerenwalls.gravlfree, service: oauth2:https://www.googleapis.com/auth/plus.login https://www.googleapis.com/auth/games https://www.googleapis.com/auth/drive.appdata https://www.googleapis.com/auth/appstate]
05-25 03:00:49.496 1250-1990/? I/Auth.Core﹕ [TokenCache] Missing snowballing token: no granted scopes set.
05-25 03:00:49.523 1448-21701/? V/AuthAccountOperation﹕ offline access is not requested; requesting access token
05-25 03:00:49.541 1250-9249/? I/GLSUser﹕ [GLSUser] getTokenFromCache: [account: <ELLIDED:-4362>, callingPkg: com.soerenwalls.gravlfree, service: oauth2:https://www.googleapis.com/auth/games https://www.googleapis.com/auth/plus.login https://www.googleapis.com/auth/appstate https://www.googleapis.com/auth/drive.appdata]
05-25 03:00:49.543 1250-9249/? I/Auth.Core﹕ [TokenCache] Missing snowballing token: no granted scopes set.
05-25 03:00:49.552 1448-21701/? V/AuthAccountOperation﹕ access token request successful
05-25 03:00:49.754 746-1172/? I/art﹕ Explicit concurrent mark sweep GC freed 26211(1326KB) AllocSpace objects, 2(32KB) LOS objects, 22% free, 55MB/71MB, paused 1.903ms total 134.343ms
05-25 03:00:50.138 1046-1559/? D/skia﹕ --- SkImageDecoder::Factory returned null
05-25 03:00:50.139 1046-1559/? W/AssetUtil﹕ loadBitmapAssetFromResources: failed to decode bitmap resource for package com.twitter.android
05-25 03:00:50.204 1448-9053/? E/Volley﹕ [220] BasicNetwork.performRequest: Unexpected response code 403 for https://www.googleapis.com/drive/v2beta/apps/self?prettyPrint=false&fields=id
05-25 03:00:50.210 3043-3105/? D/﹕ PORT_WriteDataCO: tx queue is full,tx.queue_size:10312,tx.queue.count:11,available:6683
05-25 03:00:50.222 1448-21694/? W/BaseAppContext﹕ Using Auth Proxy for data requests.
05-25 03:00:50.225 1448-21698/? E/ClientConnectionOperation﹕ Handling authorization failure
com.google.android.gms.drive.auth.c: Authorization failed: server returned error: Access Not Configured. The API (Drive API) is not enabled for your project. Please use the Google Developers Console to update your configuration.. See https://developers.google.com/drive/handle-errors for details.
at com.google.android.gms.drive.auth.g.a(SourceFile:209)
at com.google.android.gms.drive.auth.g.a(SourceFile:139)
at com.google.android.gms.drive.api.g.<init>(SourceFile:226)
at com.google.android.gms.drive.api.a.k.a(SourceFile:46)
at com.google.android.gms.common.service.g.run(SourceFile:178)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)
05-25 03:00:50.273 1250-2712/? I/GLSUser﹕ [GLSUser] getTokenFromCache: [account: <ELLIDED:-4362>, callingPkg: com.soerenwalls.gravlfree, service: oauth2:https://www.googleapis.com/auth/games https://www.googleapis.com/auth/plus.login https://www.googleapis.com/auth/appstate https://www.googleapis.com/auth/drive.appdata]
05-25 03:00:50.276 1250-2712/? I/Auth.Core﹕ [TokenCache] Missing snowballing token: no granted scopes set.
05-25 03:00:50.556 1448-9055/? E/Volley﹕ [222] BasicNetwork.performRequest: Unexpected response code 403 for https://www.googleapis.com/drive/v2beta/apps/self?prettyPrint=false&fields=id
05-25 03:00:50.559 1448-21698/? E/ClientConnectionOperation﹕ Handling authorization failure
com.google.android.gms.drive.auth.c: Authorization failed: server returned error: Access Not Configured. The API (Drive API) is not enabled for your project. Please use the Google Developers Console to update your configuration.. See https://developers.google.com/drive/handle-errors for details.
at com.google.android.gms.drive.auth.g.a(SourceFile:209)
at com.google.android.gms.drive.auth.g.a(SourceFile:139)
at com.google.android.gms.drive.api.g.<init>(SourceFile:226)
at com.google.android.gms.drive.api.a.k.a(SourceFile:46)
at com.google.android.gms.common.service.g.run(SourceFile:178)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)
05-25 03:00:50.562 20197-20197/? W/GameHelper﹕ disconnect() called when client was already disconnected.
05-25 03:00:50.564 20197-20197/? E/GooglePlayServicesUtil﹕ Internal error occurred. Please see logs for detailed information

LibGDX GameHelper Google Play Sign-in

I'm using GameHelper to sign into google play services. Now this works perfectly fine on my tablet with my non-dev account, as well as other people's phones and their accounts (when set as a tester in the developer console) and run straight from eclipse.
However on my cellphone Galaxy S4 with my non-dev account it wont sign in; I get a dialog box show up saying "Failed to sign in. Please check your network connection and try again."
Now I've given the app permission to check network state and I'm running a check to see if it's connected to the internet before running the sign in code.
It tells me I'm connected...
I've validated my client id and SHA1 certificates, but this can't be the issue as it works on other devices.
Does anyone know what could be going on?
Below is the log output - sign-in error is SIGN_IN_REQUIRED.
09-03 19:13:48.811: D/GameHelper(14338): GameHelper: beginUserInitiatedSignIn: resetting attempt count.
09-03 19:13:48.821: D/GameHelper(14338): GameHelper: Starting USER-INITIATED sign-in flow.
09-03 19:13:48.821: D/GameHelper(14338): GameHelper: beginUserInitiatedSignIn: starting new sign-in flow.
09-03 19:13:48.821: D/GameHelper(14338): GameHelper: Starting connection.
09-03 19:13:48.931: D/GameHelper(14338): GameHelper: onConnectionFailed
09-03 19:13:48.931: D/GameHelper(14338): GameHelper: Connection failure:
09-03 19:13:48.931: D/GameHelper(14338): GameHelper: - code: SIGN_IN_REQUIRED(4)
09-03 19:13:48.931: D/GameHelper(14338): GameHelper: - resolvable: true
09-03 19:13:48.931: D/GameHelper(14338): GameHelper: - details: ConnectionResult{statusCode=SIGN_IN_REQUIRED, resolution=PendingIntent{42bda858: android.os.BinderProxy#42bda7f8}}
09-03 19:13:48.931: D/GameHelper(14338): GameHelper: onConnectionFailed: WILL resolve because user initiated sign-in.
09-03 19:13:48.931: D/GameHelper(14338): GameHelper: onConnectionFailed: resolving problem...
09-03 19:13:48.931: D/GameHelper(14338): GameHelper: resolveConnectionResult: trying to resolve result: ConnectionResult{statusCode=SIGN_IN_REQUIRED, resolution=PendingIntent{42bda858: android.os.BinderProxy#42bda7f8}}
09-03 19:13:48.931: D/GameHelper(14338): GameHelper: Result has resolution. Starting it.
09-03 19:13:48.961: I/AndroidGraphics(14338): paused
09-03 19:13:48.961: D/SensorManager(14338): unregisterListener ::
09-03 19:13:48.961: D/SensorManager(14338): unregisterListener ::
09-03 19:13:48.961: I/AndroidInput(14338): sensor listener tear down
09-03 19:13:49.572: D/GameHelper(14338): GameHelper: Notifying LISTENER of sign-in FAILURE (no error)
09-03 19:13:49.592: W/IInputConnectionWrapper(14338): showStatusIcon on inactive InputConnection
09-03 19:13:54.386: D/GameHelper(14338): GameHelper: onActivityResult: req=RC_RESOLVE, resp=SIGN_IN_FAILED
09-03 19:13:54.386: D/GameHelper(14338): GameHelper: onAR: responseCode=SIGN_IN_FAILED, so giving up.
09-03 19:13:54.386: W/GameHelper(14338): disconnect() called when client was already disconnected.
09-03 19:13:54.466: D/GameHelper(14338): GameHelper: Notifying LISTENER of sign-in FAILURE (error)
09-03 19:13:54.466: I/System.out(14338): GOOGLE: Sign in Failed:: SignInFailureReason(serviceErrorCode:SIGN_IN_REQUIRED(4),activityResultCode:SIGN_IN_FAILED)
09-03 19:13:54.466: I/SensorManagerA(14338): getReportingMode :: sensor.mType = 1
09-03 19:13:54.476: D/SensorManager(14338): registerListener :: 0, K330 3-axis Accelerometer, 20000, 0,
09-03 19:13:54.476: I/SensorManagerA(14338): getReportingMode :: sensor.mType = 2
09-03 19:13:54.476: D/SensorManager(14338): registerListener :: 1, YAS532 Magnetic Sensor, 20000, 0,
09-03 19:13:54.476: I/AndroidInput(14338): sensor listener setup
09-03 19:13:54.486: I/AndroidGraphics(14338): resumed
09-03 19:13:57.379: E/ViewRootImpl(14338): sendUserActionEvent() mView == null
09-03 19:13:59.922: I/DBG(14338): quit

Integrate android with google play service got a "java.lang.IllegalStateException"

I tried to integrate google play service with my unity android game. After signed in google play service, following log message appeared in DDMS and app was crashed.
02-27 13:50:00.633 13419-13419/? D/AndroidNative﹕ GameHelper: onConnected: connected! client=1
02-27 13:50:00.633 13419-13419/? D/AndroidNative﹕ GameHelper: Connected clients updated to: 1
02-27 13:50:00.633 13419-13419/? D/AndroidNative﹕ GameHelper: connectNextClient: requested clients: 1, connected clients: 1
02-27 13:50:00.633 13419-13419/? D/AndroidNative﹕ GameHelper: Pending clients: 0
02-27 13:50:00.633 13419-13419/? D/AndroidNative﹕ GameHelper: All clients now connected. Sign-in successful!
02-27 13:50:00.633 13419-13419/? D/AndroidNative﹕ GameHelper: All requested clients connected. Sign-in succeeded!
02-27 13:50:00.633 13419-13419/? D/AndroidRuntime﹕ Shutting down VM
02-27 13:50:00.633 13419-13419/? W/dalvikvm﹕ threadid=1: thread exiting with uncaught exception (group=0x415baba8)
02-27 13:50:00.633 13419-13419/? E/AndroidRuntime﹕ FATAL EXCEPTION: main
Process: com.dokinkon.projectp, PID: 13419
java.lang.Error: FATAL EXCEPTION [main]
Unity version : 4.3.2f1
Device model : LGE Nexus 5
Device fingerprint: google/hammerhead/hammerhead:4.4.2/KOT49H/937116:user/release-keys
Caused by: java.lang.IllegalStateException: No AppStateClient. Did you request it at setup?
at com.google.example.games.basegameutils.GameHelper.getAppStateClient(GameHelper.java:294)
at com.android.gs.GameClientManager.onStateChange(GameClientManager.java:690)
at com.google.example.games.basegameutils.GameHelper.setState(GameHelper.java:272)
at com.google.example.games.basegameutils.GameHelper.succeedSignIn(GameHelper.java:813)
at com.google.example.games.basegameutils.GameHelper.connectNextClient(GameHelper.java:695)
at com.google.example.games.basegameutils.GameHelper.onConnected(GameHelper.java:805)
at com.google.android.gms.internal.k.y(Unknown Source)
at com.google.android.gms.internal.au.y(Unknown Source)
at com.google.android.gms.internal.k$f.a(Unknown Source)
at com.google.android.gms.internal.k$f.a(Unknown Source)
at com.google.android.gms.internal.k$b.D(Unknown Source)
at com.google.android.gms.internal.k$a.handleMessage(Unknown Source)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5017)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
at dalvik.system.NativeStart.main(Native Method)
I don't know what "java.lang.IllegalStateException: No AppStateClient. Did you request it at setup?" means for. Thanks.
You need to add the APPSTATE client as shown below:
//should be called on your application start
//best practice to call it only once. Any way other calls will be ignored by the plugin.
//if you want to use only Game service (Leader-boards, achievements) use GooglePlayConnection.CLIENT_GAMES
//if you want to use only Google Cloud service use GooglePlayConnection.CLIENT_APPSTATE
//if you want both: GooglePlayConnection.CLIENT_GAMES | GooglePlayConnection.CLIENT_APPSTATE
//and if you whant to get avaliable permissions for your app use: GooglePlayConnection.CLIENT_ALL
GooglePlayConnection.instance.start (GooglePlayConnection.CLIENT_GAMES | GooglePlayConnection.CLIENT_APPSTATE );

Categories

Resources