-
Notifications
You must be signed in to change notification settings - Fork 82
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]: Sending push notification to wrong user #258
Comments
Hi @HoangDilo, Can you contact [email protected] with more information:
The Braze Support team should help with trying to reproduce this issue to diagnose the root cause. Thanks! |
我也遇到同样的问题(I also encountered the same problem) Hope to resolve it quickly |
For people who encounter this issue, we could fix it by manually configuring the IOS token. But it's kinda complicated |
我已经解决了 哈哈今天困扰了我 1天了。抓包发现切换userid的时候 安卓发送了请求 ios没发送 ios有点不同 你要去 原生力把token拿到 传到rn来 然后 changeUser后 再注册一次registerPushToken 我抓包看到请求就正常了 |
@wangbf11 @HoangDilo Just to check, in your iOS code, are you implementing push functionality via |
ios的changeuse 不会触发 userId和pushtoken的绑定关系 需要手动调用registerPushToken(i参数:ios原生token)。 |
Hey all, the latest 10.0.0 version has been updated with our underlying Swift SDK version 12.0.0. This fix contains updates that upload push tokens more reliably when using the push automation features, particularly on changing users. If you continue to see issues after upgrading, please send in some verbose logs and reproduction steps (in addition to code snippets of how you are integrating push notifications with our SDK) to [email protected]. Thank you! |
Which Platforms?
iOS
Which React Native Version?
0.73.5
Which @braze/react-native-sdk SDK version?
9.0.0
Repro Rate
Really hight, especially after switching users
Steps To Reproduce
Example:
Braze.changeUser(
anonymous_${deviceId})
Braze.changeUser(UserId_1)
Braze.changeUser(UserId_2)
Expected Behavior
Actual Incorrect Behavior
Verbose Logs
No response
Additional Information
The text was updated successfully, but these errors were encountered: