From f50f7f87b16ff24018b100d3231433f25c681f5e Mon Sep 17 00:00:00 2001 From: Sebastian Durandeu Date: Wed, 23 Nov 2016 15:42:36 -0300 Subject: [PATCH 1/2] Expose CardIOActivity.EXTRA_USE_PAYPAL_ACTIONBAR_ICON in settings --- src/android/CardIOCordovaPlugin.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/android/CardIOCordovaPlugin.java b/src/android/CardIOCordovaPlugin.java index 0623f42..466dfdf 100644 --- a/src/android/CardIOCordovaPlugin.java +++ b/src/android/CardIOCordovaPlugin.java @@ -74,6 +74,7 @@ private void scan(JSONArray args) throws JSONException { scanIntent.putExtra(CardIOActivity.EXTRA_SUPPRESS_CONFIRMATION, this.getConfiguration(configurations, "suppressConfirmation", false)); // default: false scanIntent.putExtra(CardIOActivity.EXTRA_HIDE_CARDIO_LOGO, this.getConfiguration(configurations, "hideCardIOLogo", false)); // default: false scanIntent.putExtra(CardIOActivity.EXTRA_SUPPRESS_SCAN, this.getConfiguration(configurations, "suppressScan", false)); // default: false + scanIntent.putExtra(CardIOActivity.EXTRA_USE_PAYPAL_ACTIONBAR_ICON, this.getConfiguration(configurations, "usePaypalActionbarIcon", true)); // default: true this.cordova.startActivityForResult(this, scanIntent, REQUEST_CARD_SCAN); } From fd2b78272f20f03d2a6607a5f612817e04a5798c Mon Sep 17 00:00:00 2001 From: Sebastian Durandeu Date: Mon, 5 Dec 2016 11:14:57 -0300 Subject: [PATCH 2/2] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 3e30d22..28ef380 100755 --- a/README.md +++ b/README.md @@ -33,6 +33,7 @@ The card.io Cordova plugin provides different configurations that could be set a | hideCardIOLogo | Boolean | The card.io logo will not be shown overlaid on the camera. | | useCardIOLogo | Boolean | The card.io logo will be shown instead of the PayPal logo. | | suppressScan | Boolean | Once a card image has been captured but before it has been processed, this value will determine whether to continue processing as usual. | +| usePaypalActionbarIcon | Boolean | Use the PayPal icon in the ActionBar | Integration instructions ------------------------