This repo contains a Cordova project which builds an app to test functionality of cordova-plugin-inappbrowser-wkwebview
cordova-plugin-inappbrowser-wkwebview
is a fork of cordova-plugin-inappbrowser that uses the the newer WKWebview to power the InAppBrowser, in contrast to cordova-plugin-inappbrowser
which still currently uses the legacy UIWebView.
This test app supports iOS 9.0+
- The app consists of a simple, single page Cordova app written with basic HTML5
- It enables you to open an InappBrowser window and validates the various functionality provided by the plugin.
The instructions below presume you have a Cordova-capable development environment setup. If not, see the Cordova Getting Started guide.
- Clone this repo:
git clone https://github.com/dpa99c/cordova-plugin-inappbrowser-wkwebview-test
- From the root directory, add the iOS platform:
cordova platform add ios
- Connect a test device
- Run the app:
cordova run ios --device --developmentTeam=TEAM_ID
- Note: if you don't specify your Apple Team ID on the command line, you'll need to open the iOS project
platforms/ios/WKWebView Test.xcodeproj
in Xcode and manually configure signing.
- Note: if you don't specify your Apple Team ID on the command line, you'll need to open the iOS project