Provides access to comScore Analytics library on iOS. Currently, Android is not supported.
This library is available on Haxelib, so install with:
haxelib install comscore
If you want to install the development version you can:
haxelib git comscore https://github.com/openfl/extension-comscore.git
You also need to include the following files from the comScore SDK manually, as they are copyrighted.
iOS/comScore-iOS-ARMV7_ARMV7S_ARM64-2-5/comScore/headers/*.h -> comscore/native/iphone/include
iOS/comScore-iOS-ARMV7_ARMV7S_ARM64-2-5/comScore/libcomScore.a -> comscore/native/libs
You can then build the .ndll files with sh rebuild (Mac/Linux) or lime rebuild ./native ios -clean.
Don't forget to add the following line to your Project.xml:
<haxelib name="comscore" if="ios" />
Then you can call comScore methods pretty easily:
import extension.comscore.ComScore;
...
ComScore.setCustomerC2("MY_CLIENT_ID");
All code in this repository is © 2015 Steve Richey and joon and is shared under an MIT license. See license.md for details. All code in the comScore SDK is © 2014 comScore, Inc.