Skip to content

Fix auth bug due to stale cached PlayerData. - #242

Open
theLee3 wants to merge 2 commits into
developfrom
hotfix/player-auth-methods
Open

Fix auth bug due to stale cached PlayerData.#242
theLee3 wants to merge 2 commits into
developfrom
hotfix/player-auth-methods

Conversation

@theLee3

@theLee3 theLee3 commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

The StreamView wrapper around the PlayerData stream currently returns the cached PlayerData to all new listeners. This should never happen for the first listener added, as the cached data can be stale.

This PR adds an _isInitialized variable to track whether or not the cached PlayerData is stale before sending it on listener attachment.

Fixes #239

@theLee3 theLee3 changed the title Fix auth bug due to cached null player. Fix auth bug due to stale cached PlayerData. Jul 7, 2026
@theLee3 theLee3 added bug Something isn't working critical This is high priority labels Jul 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working critical This is high priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

iOS Authentication Appears Successful, but GamesServices.isSignedIn Reports false

1 participant