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

Този материал е лицензиран под лиценз Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported  Публикациите в Twitter™ и Facebook не попадат под клаузите на Creative Commons.

Правни бележки   |   Правила за онлайн поверителност