Provides access to comScore Analytics library on iOS. Currently, Android is not supported.
This library is not currently available on Haxelib, so for now install with:
haxelib git comscore https://github.com/steverichey/comscore
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
<haxelib name="comscore" if="ios" />
Then you can call comScore methods pretty easily:
import extension.comscore; ... ComScore.setCustomerC2("MY_CLIENT_ID");