lwmirkk / DeviceInfo-ANE

Device Info Adobe Air Native Extension for iOS 9.0+ and Android 19+.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DeviceInfo-ANE

Device Info Adobe Air Native Extension for iOS 9.0+ and Android 19+.


Android

The ANE + Dependencies

cd into /example and run:

  • OSX (Terminal)
bash get_android_dependencies.sh
  • Windows Powershell
PS get_android_dependencies.ps1
<extensions>
<extensionID>com.tuarua.frekotlin</extensionID>
<extensionID>com.tuarua.DeviceInfoANE</extensionID>
...
</extensions>

iOS

The ANE + Dependencies

N.B. You must use a Mac to build an iOS app using this ANE. Windows is NOT supported.

From the command line cd into /example and run:

bash get_ios_dependencies.sh

This folder, ios_dependencies/device/Frameworks, must be packaged as part of your app when creating the ipa. How this is done will depend on the IDE you are using. After the ipa is created unzip it and confirm there is a "Frameworks" folder in the root of the .app package.

Prerequisites

You will need:

  • IntelliJ IDEA / Flash Builder
  • AIR 32.0.0.103 or greater
  • Android Studio 3 if you wish to edit the Android source
  • Xcode 10.1
  • wget on OSX
  • Powershell on Windows

About

Device Info Adobe Air Native Extension for iOS 9.0+ and Android 19+.

License:Apache License 2.0


Languages

Language:ActionScript 40.5%Language:Shell 20.2%Language:Objective-C 17.4%Language:Swift 8.6%Language:Kotlin 5.7%Language:Batchfile 3.8%Language:Java 3.2%Language:PowerShell 0.6%