diff --git a/src/android/CameraLauncher.java b/src/android/CameraLauncher.java index 8310741..5fd38b2 100644 --- a/src/android/CameraLauncher.java +++ b/src/android/CameraLauncher.java @@ -145,12 +145,10 @@ public class CameraLauncher extends CordovaPlugin implements MediaScannerConnect */ public boolean execute(String action, JSONArray args, CallbackContext callbackContext) throws JSONException { this.callbackContext = callbackContext; - //Adding an API to CoreAndroid to get the BuildConfigValue - //This allows us to not make this a breaking change to embedding + this.applicationId = cordova.getContext().getPackageName(); this.applicationId = preferences.getString("applicationId", this.applicationId); - if (action.equals(TAKE_PICTURE_ACTION)) { this.srcType = CAMERA; this.destType = FILE_URI;