Skip to content

Commit

Permalink
fix(android): set applicationId (apache#827)
Browse files Browse the repository at this point in the history
Co-authored-by: Alexandre Alves <[email protected]>
  • Loading branch information
2 people authored and dpalou committed May 4, 2023
1 parent 67b4e61 commit 58fb712
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/android/CameraLauncher.java
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public boolean execute(String action, JSONArray args, CallbackContext callbackCo
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);


Expand Down

0 comments on commit 58fb712

Please sign in to comment.