From 4b954ba08a8d249e615b14db06f3e578cd3276cd Mon Sep 17 00:00:00 2001 From: Brian Smith Date: Thu, 23 Mar 2023 13:53:58 -0400 Subject: [PATCH] Properly fill array of strings on iOS for DeleteTags --- OneSignalSDK.dotnet.iOS/OneSignalImplementation.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/OneSignalSDK.dotnet.iOS/OneSignalImplementation.cs b/OneSignalSDK.dotnet.iOS/OneSignalImplementation.cs index 44dc2b8..f39613d 100644 --- a/OneSignalSDK.dotnet.iOS/OneSignalImplementation.cs +++ b/OneSignalSDK.dotnet.iOS/OneSignalImplementation.cs @@ -200,6 +200,7 @@ public override async Task 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));