How do I Use Play Games Profile Picture?

Get help using Construct 2

Post » Tue May 31, 2016 6:13 pm

Hey everyone,

Can anyone help me with this problem?

I'm trying to make a simples "Google Play Games HUD" per say... But i can't get the user profile picture no matter what i try. I may be doing something wrong but here it is:

Image

Everything else works just fine, profile name, leaderboards, achievements, but the profile picture isn't loading.
Internal tests i made showed that the URL stored on GooglePlay.PlayerImageURL is something like: "content://com.google..."

By the way i'm using Cranberry Cordova Game Plugin.

I'm really about to cry, does anyone know how do i make it work? :cry:
Check out my games:

Space Project
B
8
S
3
G
2
Posts: 12
Reputation: 1,626

Post » Wed Jun 01, 2016 2:18 pm

when you open DevTools,what console shows?

something like?
Image

or?
Image


OR?

and..when you set Text to GooglePlay.PlayerImageURL how exactly looks URL
B
67
S
24
G
7
Posts: 1,518
Reputation: 11,072

Post » Thu Jun 02, 2016 5:23 am

The GooglePlay.PlayerImageURL returns a different URL according to the user, mine returns exactly: 'content://com.google.android.gms.games.background/images/81e13dae/44'

Console can't be used within the app and I can't login on google play from Intel XDK Emulator or Debug Mode.
Or can?
Check out my games:

Space Project
B
8
S
3
G
2
Posts: 12
Reputation: 1,626


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 22 guests