Skip to content

[Bug]: Receiving inapps after logout #2519

@Andrew0000

Description

@Andrew0000

What happened?

I keep receiving inapps 1) after OneSignal.logout() 2) after login with another id (another user)

Steps to reproduce?

- OneSignal 5.4.2
- Do login:
OneSignal.User.addEmail(profile.email)
OneSignal.login(profile.id)
- Send an inapp via test subscriptions - it's shown - ok
- Do logout:
OneSignal.User.removeEmail(previousEmail)
OneSignal.logout()
- Send an inapp via test subscriptions - it's shown - bug
- Do login with another user (email and id)
- Send an inapp via test subscriptions for the previous user - it's shown - bug

What did you expect to happen?

Device should not receive inapps 1) after logout 2) after login with another user

OneSignal Android SDK version

5.4.2

Android version

15

Specific Android models

Relevant log output

Code of Conduct

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions