From ee77f148df3bdc62e1e3afd9d72df73375e6f7d0 Mon Sep 17 00:00:00 2001 From: Vikash Loomba Date: Fri, 23 Feb 2018 15:44:57 -0800 Subject: [PATCH] Exposed card image api --- src/android/CardIOCordovaPlugin.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/android/CardIOCordovaPlugin.java b/src/android/CardIOCordovaPlugin.java index 0623f42..20393d7 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_RETURN_CARD_IMAGE, this.getConfiguration(configurations, "returnImage", false)); this.cordova.startActivityForResult(this, scanIntent, REQUEST_CARD_SCAN); }