We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d992b4 commit 402d0edCopy full SHA for 402d0ed
2 files changed
Assets/Plugins/iOS/TalkingDataSDK.mm
@@ -16,6 +16,10 @@
16
static NSDictionary *TDCreateNSDictionary(const char *json) {
17
NSString *valStr = TDCreateNSString(json);
18
NSData *valData = [valStr dataUsingEncoding:NSUTF8StringEncoding];
19
+ if (valData == nil) {
20
+ return nil;
21
+ }
22
+
23
return [NSJSONSerialization JSONObjectWithData:valData options:0 error:nil];
24
}
25
Assets/TalkingDataScripts/TalkingDataSDK.cs
@@ -1,4 +1,4 @@
1
-// version: 5.0.2
+// version: 5.0.3
2
3
using UnityEngine;
4
using System.Collections.Generic;
0 commit comments