/* *
- Copyright (c) 2020 CA Technologies (A Broadcom Company)
- All rights reserved.
*/
tag: Jan 3 , 2020 : 9:47 AM IST
AXA-SDK
Author
CA Technologies (A Broadcom Company)
License
AXA-SDK is available under the MIT license. See the LICENSE file for more info.
Installation
AXA-SDK is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'AXA-SDK'
Integrating SDK in your Source (For Objective C)
- Import the CAMDOReporter.h file by adding the following line:
#import "CAMDOReporter.h"
- Initialize the CAMobileAppAnalytics sdk in the AppDelegate's' didFinishLaunchingWithOptions: method by adding the following line:
- (void) initializeSDKWithOptions:(SDKOptions) options completionHandler:(void(^)(BOOL completed, NSError *error)) completionBlock; as shown in the following code
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { [CAMDOReporter initializeSDKWithOptions:SDKLogLevelVerbose completionHandler:nil]; return YES; }
Save and re-build your project:
The generated app is now integrated with CA AXA. CA AXA can now track the performance, crash, and usage data of your app
For swift and additional documentation refer to: https://docops.ca.com/ca-app-experience-analytics-digital-experience-insights-from-ca/ga/en/configuring/collect-data-from-ios-applications