Skip to content
Tua Rua edited this page Oct 31, 2020 · 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

The ANE + Dependencies

Change directory into the example-mobile folder eg

cd /MyMac/dev/AIR/WebViewANE/example-mobile

Run the "air-tools" command (You will need AIR-Tools installed)

air-tools install

NEW This tool now:

  1. Downloads the WebViewANE and dependencies.
  2. Applies all required Android Manifest, InfoAdditons and Entitlements to your app.xml. See air package.json

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