Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: New account can not receive the push notification when swith from previous account that reached the maxmium subscriptioin number #2186

Closed
1 task done
Joemiao120 opened this issue Aug 28, 2024 · 1 comment

Comments

@Joemiao120
Copy link

Joemiao120 commented Aug 28, 2024

What happened?

I have 2 accounts, the first account has the maximum number of subscriptions assigned, and it cannot receive any push notification, so I switched to another new account, after I called the logout function, I still could not receive the push notification, even I've checked the account status, opted-in, have permission.

Steps to reproduce?

1. Login first account has the maximum number of subscriptions assigned
2. Logout
3. Login a new account
4. Send a push notification

What did you expect to happen?

I want the second account can receive the push notification.

OneSignal Android SDK version

5.1.20

Android version

14

Specific Android models

No response

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@jkasten2
Copy link
Member

@Joemiao120 Thanks for reporting, this is the same issue as #2143 so let's combine these together by using that one instead.

The summary from there is:

  1. It unlikely a legitimate end-user would do this 20 times, however it possible it could happen. In this case you would have to clean up the older subscriptions by deleting them. This could be done via the OneSignal DELETE /subscriptions REST API if this comes up in the real world.

  2. BUG: Even if the limit is hit switching users should be allowed, however there is a bug where the SDK doesn't recover from this. Please subscribe to issue [Bug]: Unable to login to any other external id once user_subscription_limit has reached on previous external id #2143 to keep up with the status of this bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants