Skip to content

Commit

Permalink
Merge pull request #373 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 Mar 24, 2023
2 parents 2b69ea9 + f7997b2 commit 322fa9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions OneSignalSDK.Xamarin.iOS/OneSignalImplementation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,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 322fa9a

Please sign in to comment.