Remove old SDK
- Remove the .a and the header file from the project.
- Make sure the files were not copied into the project library:
- Click on the project in Xcode and select “show in Finder”.
- If the old SDK (.a and header files) exist there please delete them as well)
- Delete the #import ZendeskConnect.h line from your appDelegate file.
- Clean and build your project and it should throw few errors.
Import new SDK
- Drag both the library and the header file into the project
- Import ZendeskConnectTracker.h file
- In your "didFinishLaunchingWithOptions" add the following lines:
- [ZendeskConnectTracker sharedTracker].appsFlyerDevKey = @"Dev_Key";
- [ZendeskConnectTracker sharedTracker].appleAppID = @"App_ID";
- Replace the app open events API (located at "applicationDidBecomeActive"):
[ZendeskConnect notifyAppID:@"App_ID;Dev_Key"]; with [[ZendeskConnectTracker sharedTracker] trackAppLaunch];
- Replace the in-app events API:
[ZendeskConnect notifyAppID:@"App_ID;Dev_Key"]; with [[ZendeskConnectTracker sharedTracker] trackEvent:@"" withValue:@""];
Comments
0 comments
Article is closed for comments.