cpp-android-basic-samples
cpp-android-basic-samples copied to clipboard
Calling Leaderboards().ShowAllUIBlocking() causes lifecycle issue with player profile.
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:
- Head to leaderboards (we call GoogleGameServices->Leaderboards().ShowAllUIBlocking() )
- Pick a leaderboard
- Highlight a player on the leaderboard.
- Tap on that player (get profile)
- App gets onPause and onStop calls.
- Back out of player profile
- Back out of player highlight,
- 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.