react-native-onesignal
react-native-onesignal copied to clipboard
[bug]: why is user tags not added or linked on subscriptions
How can we help?
I am creating users with tags using external_id as an identifier by using the REST API from my backend and the request is successful but when a player subscribes for push notification from React native app the user tags are not added to the user subscriptions but after the user subscribed and I try to add that user again the user tags are added to the subscriptions how to fix this
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Hi @aman123shi thanks for reaching out! Just to clarify, you are saying that when using the SDK to add tags, the tags are not added until the user subscribes? Would you be able to send a log from the device capturing this behavior, please?
no, am not setting tags from the SDK I am saying I created a user with tags and external_id using Users rest API from my backend when a user registers to my system so when a user from the mobile app tries to subscribe to push notification using that same exteranl_id that I set when my user registers it's tags are not added to his subscriptions when I see it from the oneSignal dashboard . by the way I am using react-native-onsignal 4.5.2 since the version 5 does not support identity verification
Anyone figured how to solve this?