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 License 授權  Creative Commons 條款未涵蓋 Twitter™ 與 Facebook 文章。

法律說明   |   線上隱私權政策