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 you pass-in a dictionary of tags via OneSignal.User.AddTags api, the user tags that are created, the value of the tag is the same as the key. I expect that the key/value should match the dictionary
When I try to use OneSignal.User.AddTag api, not all tags are created. I've verified in the subscription's user tags section in the portal that there are tags missing in the list
Tested on iOS, OneSignalSDK.DotNet v5.0.2
Steps to reproduce?
1. create a maui project
dotnet new maui
2. add OneSignalSDK.DotNet v5.0.2 nuget
3. add the following code in App.xaml.cs
OneSignal.Debug.LogLevel = LogLevel.VERBOSE;
OneSignal.Initialize("YOUR_APP_ID");
OneSignal.Notifications.RequestPermissionAsync(true);
var tags = new Dictionary<string, string>()
{
{ "deviceId", "00000000-0000-0000-0000-000000000000" },
{ "accountId", "1234" },
{ "deviceType", "phone" }
};
OneSignal.User.AddTags(tags);
4. build and launch app and observe the logs
What did you expect to happen?
when using OneSignal.User.AddTags api, the user tags created should match the dictionary that pass-in as parameters
when using OneSignal.User.AddTag api, all tags should be created
Thanks for the detailed info, we are looking into this
We have a limit on how many tags each user can have depending on your plan. What plan are you on?
For free users, we have a limit of 2 tags for each user.
Does this match up with what you are seeing?
You can find the limits for Data Tags here under Message Personalization
What happened?
When you pass-in a dictionary of tags via
OneSignal.User.AddTags
api, the user tags that are created, the value of the tag is the same as the key. I expect that the key/value should match the dictionaryWhen I try to use
OneSignal.User.AddTag
api, not all tags are created. I've verified in the subscription's user tags section in the portal that there are tags missing in the listTested on iOS, OneSignalSDK.DotNet v5.0.2
Steps to reproduce?
What did you expect to happen?
OneSignal.User.AddTags
api, the user tags created should match the dictionary that pass-in as parametersOneSignal.User.AddTag
api, all tags should be createdRelevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: