Awesome
hockeyapp
AIR native extension for HockeyApp platform
Installation
-
Download com.github.airext.HockeyApp.ane ANE and add it as dependencies to your project.
-
Edit your Application Descriptor file with registering new native extensions like this:
<extensions>
<extensionID>com.github.airext.HockeyApp</extensionID>
</extensions>
Set iOS minimum version to 8.0 in iPhone InfoAdditions:
<iPhone>
<!-- A list of plist key/value pairs to be added to the application Info.plist -->
<InfoAdditions>
<![CDATA[
<key>MinimumOSVersion</key>
<string>8.0</string>
]]>
</InfoAdditions>
</iPhone>
Ensure next Android permissions are added into corresponded section:
<android>
<manifestAdditions>
<![CDATA[
<manifest android:installLocation="auto">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
...
</manifest>
]]>
</manifestAdditions>
</android>
Usage
To make it run you call configure(appId: Stirng): void
and start()
methods of HockeyApp shared instance:
if (HockeyApp.isSupported) {
HockeyApp.shared.configure("HOCKEYAPP_APP_ID");
HockeyApp.shared.start();
}
Helper methods:
HockeyApp.extensionVersion(); // returns version of this extension
HockeyApp.sdkVersion(); // returns version of the native Hockey SDK this extension build with