Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calling Leaderboards().ShowAllUIBlocking() causes lifecycle issue with player profile. #23

Open
stevenhaggerty opened this issue Oct 9, 2015 · 0 comments

Comments

@stevenhaggerty
Copy link

Hi there,

Our app has implemented many of the game services function using the native API and it all works correctly and is on the store.

However we have an issue when the player checks out a leaderboard players profile:

  1. Head to leaderboards (we call GoogleGameServices->Leaderboards().ShowAllUIBlocking() )
  2. Pick a leaderboard
  3. Highlight a player on the leaderboard.
  4. Tap on that player (get profile)
  • App gets onPause and onStop calls.
  1. Back out of player profile
  2. Back out of player highlight,
  3. back out of leaderboards to the app
  • App does NOT get onRestart, onStart, onResume calls as this is a blocking call. Therefore the
    game sits there in an onStop state.

Is this expected behaviour? Using the non-blocking call fixes this, surely this renders the
blocking call unusable?

Steve.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant