This is an automated email from the ASF dual-hosted git repository.
normanbreau pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-plugin-camera.git
The following commit(s) were added to refs/heads/master by this push:
new 2c09ade fix(android): set applicationId (#827)
2c09ade is described below
commit 2c09ade50063606568f29e8dc3d2bb7c95546b9d
Author: seamlink-aalves <[email protected]>
AuthorDate: Fri Apr 14 12:06:30 2023 +0100
fix(android): set applicationId (#827)
Co-authored-by: Alexandre Alves <[email protected]>
---
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);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]