Skip to content

Commit 2c09ade

Browse files
seamlink-aalvesAlexandre Alves
and
Alexandre Alves
authored
fix(android): set applicationId (#827)
Co-authored-by: Alexandre Alves <[email protected]>
1 parent 827bb61 commit 2c09ade

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/android/CameraLauncher.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public boolean execute(String action, JSONArray args, CallbackContext callbackCo
147147
this.callbackContext = callbackContext;
148148
//Adding an API to CoreAndroid to get the BuildConfigValue
149149
//This allows us to not make this a breaking change to embedding
150-
this.applicationId = (String) BuildHelper.getBuildConfigValue(cordova.getActivity(), "APPLICATION_ID");
150+
this.applicationId = cordova.getContext().getPackageName();
151151
this.applicationId = preferences.getString("applicationId", this.applicationId);
152152

153153

0 commit comments

Comments
 (0)