airext / hockeyapp

AIR native extension for HockeyApp platform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hockeyapp

AIR native extension for HockeyApp platform

Installation

  1. Download com.github.airext.HockeyApp.ane ANE and add it as dependencies to your project.

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

About

AIR native extension for HockeyApp platform


Languages

Language:C 47.1%Language:Objective-C 20.8%Language:Java 17.5%Language:ActionScript 14.7%