Skip to content

[Bug]: Continues Login and logout not working properly. #923

@ilyasarafathemvigo

Description

@ilyasarafathemvigo

What happened?

While trying a login and logout with two more times , the subscription status got "Not subscribed" and notification is not receiving .
Same thing like if try continues login and logout, am getting notification after logout.

Steps to reproduce?

1. call this function  OneSignal.login(userId);
2. Then OneSignal.logout()
3. wait 2 seconds 
4. call this function  OneSignal.login(userId);
5. Then OneSignal.logout()

What did you expect to happen?

The notifications get properly based on login and logout .

OneSignal Flutter SDK version

5.2.1

Which platform(s) are affected?

  • iOS
  • Android

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions