From 2c09ade50063606568f29e8dc3d2bb7c95546b9d Mon Sep 17 00:00:00 2001 From: seamlink-aalves <49952868+seamlink-aalves@users.noreply.github.com> Date: Fri, 14 Apr 2023 12:06:30 +0100 Subject: [PATCH] fix(android): set applicationId (#827) Co-authored-by: Alexandre Alves --- src/android/CameraLauncher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);