Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.
This repository was archived by the owner on May 5, 2025. It is now read-only.

onLoginStateChanged回掉函数返回的登录状态不是最新的 #34

@EnObj

Description

@EnObj

可以通过先用邮箱登录,然后退出,然后再匿名登录复现。此时发现onLoginStateChanged回调函数返回的loginState内的user信息仍然为邮箱登录的user信息。
或者组合先邮箱登录,再退出,然后自定义登录,同样会复现出问题。

翻了源码看下可以基本定位是下面这一行代码调用时还未刷新loginState导致。
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions