|
Air Native Extension for MobileAppTracking SDK This is an ANE for MobileAppTracking SDK on iOS and Android. DISCONTINUED: Check the official ANE therehttps://github.com/MobileAppTracking1/ Android:- Copy the MobileAppTracker.jar downloaded from MobileAppTracking.com to android/libs
复制代码 2/ iOS:
For some reason, I'm unable to directly use the .framework from the downloaded MobileAppTracking.com sdk, here is the work around.
- Copy MobileAppTracker.h to ios/MobileAppTrackingANE/
- Copy and rename MobileAppTrackeriOS_XX to ios/MobileAppTrackingANE/MobileAppTrackeriOS_XXX.a (just add .a)
复制代码 3/ Build:Follow the step 1 and 2 to correctly integrate the original sdks from mobile app tracking. Rename example.build.config to build.config in /build, and edit it with the correct information. Run "ant" at the root of the project. 4/ Usage:
- // Track install
- MobileAppTracking.trackInstall();
- // Track event
- MobileAppTracking.trackAction("eventName");
复制代码 Authors:This ANE has been written by Malik Aouabed and Sebastien Flory. Some setup code was inspired byfreshplanet Inc. ANEs. It is distributed under the Apache Licence, version 2.0.
相关链接:
https://github.com/boostr/MobileAppTracking-ANE
|