Issue

When calling the function

(void) visitorSyncIdentifiers:(NSDictionary *)identifiers;

or

(void) visitorSyncIdentifiers:(nullable NSDictionary *)identifiers authenticationState:(ADBMobileVisitorAuthenticationState)authState;

The app crashes with error

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil'

Environment

  • Mobile Services SDK
  • iOS

Cause

In Mobile Services SDK 4.13.4 and below, using special characters in the identifier string causes crash.

Resolution

This issue has been resolved in Mobile Services SDK 4.13.5 and above. Please update to the latest SDK version.

Additional information

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy