This is a developers' guide for setting up a LiveLike SDK configuration for native iOS apps. We will take you through the basic technical steps for configuration and show you how to send your first widgets and chat messages. We will also provide detailed samples and instructions for a complete LiveLike integration.
The Engagement SDK gives you control over the types of logs that are printed. This can be helpful to debug unexpected behavior or for reporting a bug to email@example.com. The different logging levels are:
The default level is None.
EngagementSDK.logLevel = .verbose
“Failed to initialize the Engagement SDK. < client-id > is not a valid client id.”
If you've received the error “Failed to initialize the Engagement SDK. '[your client ID]' is not a valid client id.” , when trying to initialize the Engagement SDK, please ensure that the Client ID used in your application matches the one given in the Producer Site.
“< program-id > is not a valid program ID”
If you've received the error “[your program ID] is not a valid program ID” , please refer back to program ID instructions.
EngagementSDK relies on some third party and open source dependencies. The specific dependencies and supported versions can be found in the corresponding podspec and cartfile. If your application uses any of the listed dependencies, both Carthage and CocoaPods will attempt to resolve any conflict automatically by using latest version that satisfies all constraints.
We do recognize that there may be situations where this is not possible. LiveLike will make efforts to support the latest versions of all the listed dependencies. If, however, you encounter a situation where dependency conflict resolution is not automatic, please feel free to reach out to our support team.