We recommend tracking the cause of any initialization failures in your crash reporting dashboard. This will help in troubleshooting your integration once deployed in production.

If you have any difficulty in getting started, or wish to see more detailed information from the SDK, you can enable logging. This can be set in your AppDelegate in application(didFinishLaunchingWithOptions).

Swift

import ZendeskSDKLogger
Logger.enabled = trueLogger.level = .default
// Possible levels:// .default// .info// .debug// .error// .fault

Objective-C

#import <ZendeskSDKLogger/ZendeskSDKLogger.h>
ZDKLogger.enabled = YES;ZDKLogger.level = ZDKLogLevelDefault;
// Possible levels:// ZDKLogLevelDefault// ZDKLogLevelInfo// ZDKLogLevelDebug// ZDKLogLevelError// ZDKLogLevelFault

Log Levels

Default: A default level which is a general logging level. It's better to be specific by using other log levels.

Info: Contains information that may be helpful, but not essential, while troubleshooting problems.

Debug: Contains information useful during development while actively debugging.

Error: Contains information about errors and failures.

Fault: Contains information about serious problems.

Using the SDK with mobile app wrappers

Zendesk doesn't provide any SDK packages to use with specific wrappers. The SDK is developed and intended to be used natively. You can still choose to integrate it in your app using a wrapper (React Native, Xamarin, Flutter or Ionic for example) and have it work. However, this is considered a custom implementation and is not supported. Any issue you may have while using a wrapper will need to be reproduced natively using one of our demo apps following the guidelines presented in Getting support on our mobile SDKs.