Skip to content

Commit

Permalink
Properly fill array of strings on iOS for DeleteTags
Browse files Browse the repository at this point in the history
  • Loading branch information
brismithers committed Mar 23, 2023
1 parent 2b69ea9 commit f7997b2
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 f7997b2

Please sign in to comment.