AXASDK 19.12

AXASDK 19.12

Maintained by AXASDK.



AXASDK 19.12

/*
*
* Copyright (c) 2019 CA Technologies (A Broadcom Company)
* All rights reserved.
*
*/

tag: Feb 25 , 2019 : 8:47 AM PST

MAA SDK Libraries
=================
The following SDK packages are available to integrate in your projects.

1. CAMobileAppAnalytics – Use this if you are on Xcode 8.x and above. Folder contains two static libraries (libCAMobileAppAnalytics.a, and libCAMobileAppAnalytics-simulator.a) for iOS devices and Simulators.  You should use the included ca-maa-ios-sdk.xcconfig to build your app 

2. CAMobileAppAnalytics-7.3.1 – Use this if you are on Xcode 7.x.  Folder contains two static libraries (libCAMobileAppAnalytics.a, and libCAMobileAppAnalytics-simulator.a) for iOS devices and Simulators.  You should use the included ca-maa-ios-sdk-Xcode.xcconfig to build your app

Adding MAA SDK Library to your Project in Xcode
===============================================
1. Open the source code for your app in Xcode. For more information about Xcode, see https://developer.apple.com/xcode/
2. Select <your_app_project> in the project navigator area.
3. Drag and drop the following files and folders to your project:
    a) The plist file of <your_app_project> to the Supporting Files folder
    b) The CAMobileAppAnalytics folder (or CAMobileAppAnalytics-7.3.1 folder) into your project

Select the Copy items if needed option in the Destination section
Select the Create groups option in the Added Folders section


Integrating SDK in your Source (For Objective C)
================================================
1. Import the CAMDOReporter.h file from the CAMobileAppAnalytics (or CAMobileAppAnalytics-7.3.1) by adding the following line:

#import "CAMDOReporter.h"

2. 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