Skip to content
Tua Rua edited this page Aug 2, 2019 · 15 revisions

The iOS version utilises the native WKWebView.

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

Prerequisites

You will need

  • wget
  • Xcode 10.1
  • AIR 32.0.0.103 or greater

The ANE + Dependencies

From the Terminal cd into /example-mobile and run:

bash get_ios_dependencies.sh

App.xml

<extensions>
    <extensionID>com.tuarua.WebViewANE</extensionID>
    ...
</extensions>

You will also need to include the following in your app manifest.

<InfoAdditions>
    <![CDATA[
        <key>MinimumOSVersion</key>
        <string>9.0</string>
        ...
    ]]>
</InfoAdditions>

AIR 32 & 33

You should use AIR 32 for iOS builds


The iOS WebViewANE is written in Swift. We need to package the Swift libraries (along with a couple of dynamic frameworks) with our AIR app

https://raw.githubusercontent.com/wiki/tuarua/Firebase-ANE/images/frameworks-package.png

After the ipa is created unzip it and confirm there is a "Frameworks" folder in the root of the .app package.

Clone this wiki locally