fix(android): set applicationId (#827)

Co-authored-by: Alexandre Alves <aalves@seamlink.com>
This commit is contained in:
seamlink-aalves
2023-04-14 12:06:30 +01:00
committed by GitHub
parent 827bb611ee
commit 2c09ade500

View File

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