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); }