Skip to content

Commit

Permalink
Merge pull request #52 from OneSignal/fix-delete-tags-ios
Browse files Browse the repository at this point in the history
Properly fill array of strings on iOS for DeleteTags
  • Loading branch information
brismithers authored May 31, 2023
2 parents ce33c8d + 4b954ba commit 5254d47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions OneSignalSDK.dotnet.iOS/OneSignalImplementation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ public override async Task<bool> DeleteTags(params string[] keys) {
count = 0;
foreach (var key in keys) {
nsKeys[count] = NSString.FromData(key, NSStringEncoding.UTF8);
count++;
}

OneSignalNative.DeleteTags(nsKeys, response => proxy.OnResponse(true), response => proxy.OnResponse(false));
Expand Down

0 comments on commit 5254d47

Please sign in to comment.