How do I Use Play Games Profile Picture?

0 favourites
  • 3 posts
From the Asset Store
An educational game for counting pictures. An easy to use template for developers to build larger games
  • 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:

    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?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • when you open DevTools,what console shows?

    something like?

    or?

    OR?

    and..when you set Text to GooglePlay.PlayerImageURL how exactly looks URL

  • 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?

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)