The following code causes a crash:
let tags : [NSObject : AnyObject] = [NSString(string: "Key") : NSString(string: "Value")] PushNotificationManager.pushManager().setTags(tags)
The crash message:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects'
There's very little to work on here since the SDK is for some reason not open source. I managed to get the push notifications working, but setTags method causing a crash without any debuggable source code is certainly a deal breaker. What could cause the issue?
Please sign in to leave a comment.