diff --git a/src/android/CameraLauncher.java b/src/android/CameraLauncher.java index 198c039..8310741 100644 --- a/src/android/CameraLauncher.java +++ b/src/android/CameraLauncher.java @@ -147,7 +147,7 @@ public class CameraLauncher extends CordovaPlugin implements MediaScannerConnect 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 = (String) BuildHelper.getBuildConfigValue(cordova.getActivity(), "APPLICATION_ID"); + this.applicationId = cordova.getContext().getPackageName(); this.applicationId = preferences.getString("applicationId", this.applicationId);