5.0.2 • Published 2 years ago

cordova-plugin-inappbrowser-popup-bridge v5.0.2

Weekly downloads
414
License
Apache-2.0
Repository
github
Last release
2 years ago

cordova-plugin-inappbrowser-popup-bridge

This is a fork of cordova-plugin-inappbrowser which adds support for Braintree's PopupBridge libraries for Android and iOS to support PayPal payments within the context of the InappBrowser element of a Cordova-based app.

The purpose of PopupBridge is to allow Webviews to open emulated popup windows in a browser and send data back to the parent page in the Webview. This is essential for Web-based PayPal checkout flows which use the Braintree JS SDK which supports popup emulation via PopupBridge.

See the example app project which demonstrates usage of cordova-plugin-inappbrowser-popup-bridge.

Installation

cordova plugin add cordova-plugin-inappbrowser-popup-bridge

iOS:

  • PopupBridge requires WKWebView.
  • Therefore, this plugin depends on cordova-plugin-wkwebview-engine which adds WKWebView support to Cordova.
    • You need to add this manually: cordova plugin add cordova-plugin-wkwebview-engine
    • Or you can use the Ionic variant: cordova plugin add cordova-plugin-ionic-webview
  • This means the main Cordova app Webview will also use WKWebView on iOS 9+.

Supported platform versions

The following supported platform versions are based on the versions suppored by the Braintree PopupBridge libraries.

Android

  • Requires cordova-android@10+
  • Requires Gradle v7.1.1 or above
  • Supports Android 5.0 / API 21 and above
  • Since v5, requires the Cordova activity to run as singleTask
    • Add <preference name="AndroidLaunchMode" value="singleTask" /> to <platform name="android"> in config.xml

iOS

  • Requires cordova-ios@6+
  • Supports iOS 9.0+

Example app

cordova-plugin-inappbrowser-popup-bridge-test contains a Cordova project which builds a test app for Android and iOS to illustrate usage of this plugin.

5.0.2

2 years ago

5.0.1

2 years ago

5.0.0

2 years ago

4.1.4

3 years ago

4.1.3

3 years ago

4.1.2

3 years ago

4.1.1

4 years ago

4.0.7

4 years ago

4.0.6

4 years ago

4.1.0

4 years ago

4.0.5

4 years ago

4.0.4

4 years ago

4.0.3

4 years ago

4.0.2

4 years ago

4.0.1

4 years ago

4.0.0

4 years ago

2.0.0

4 years ago

1.0.22

5 years ago

1.0.21

5 years ago

1.0.20

5 years ago

1.0.19

5 years ago

1.0.18

5 years ago

1.0.17

6 years ago

1.0.16

6 years ago

1.0.15

6 years ago

1.0.14

6 years ago

1.0.13

6 years ago

1.0.12

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

0.9.1

7 years ago

1.0.2

7 years ago

0.9.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago