You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the app is suspended (when the user enters the App Switching view, before the app is even backgrounded) I see an event come in where onesignalId is present but externalId is null. Then the externalId is removed from the subscription record on the dashboard, without us calling any OneSignal methods in the code.
What did you expect to happen?
As I understand it, the external ID should remain associated with the subscription unless we call OneSignal.logout.
React Native OneSignal SDK version
5.2.5
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
The text was updated successfully, but these errors were encountered:
AceNorth
changed the title
[Bug]: External ID being removed from subscription when the app is suspended
[Bug]: External ID being removed from subscription when the app is suspended on iOS
Dec 13, 2024
What happened?
We're seeing an issue on iOS where the external ID is removed from an existing subscription when the app is backgrounded.
Steps to reproduce?
I was seeing this happen on the subscription dashboard, so I added this event listener to debug:
When the app is suspended (when the user enters the App Switching view, before the app is even backgrounded) I see an event come in where
onesignalId
is present butexternalId
is null. Then theexternalId
is removed from the subscription record on the dashboard, without us calling any OneSignal methods in the code.What did you expect to happen?
As I understand it, the external ID should remain associated with the subscription unless we call OneSignal.logout.
React Native OneSignal SDK version
5.2.5
Which platform(s) are affected?
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: