-
-
Notifications
You must be signed in to change notification settings - Fork 53
iOS
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.
You will need
- wget
- Xcode 10.1
- AIR 32.0.0.103 or greater
From the Terminal cd into /example-mobile and run:
bash get_ios_dependencies.sh
<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>
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
After the ipa is created unzip it and confirm there is a "Frameworks" folder in the root of the .app package.
This work is licensed under Apache License, Copyright (c) 2018 Tua Rua Ltd.
Configuring the ANE
- Windows