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 许可  Twitter™ 与 Facebook 中的内容不在 Creative Commons 的条款约束之下。

法律声明   |   在线隐私策略