Skip to content

Commit 9b34f66

Browse files
committed
Update file provider path to match cordova-android@13
See apache/cordova-android#1609
1 parent ddd015e commit 9b34f66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/android/InAppBrowser.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1150,7 +1150,7 @@ private Intent buildTakePictureIntent() {
11501150
// Compute the Content URI for our file. See: https://developer.android.com/training/camera/photobasics#TaskPath
11511151
photoFileUri = FileProvider.getUriForFile(
11521152
cordova.getActivity().getApplicationContext(),
1153-
cordova.getActivity().getPackageName() + ".fileprovider",
1153+
cordova.getActivity().getPackageName() + ".cdv.core.file.provider",
11541154
photoFile
11551155
);
11561156
takePictureIntent.putExtra(MediaStore.EXTRA_OUTPUT, photoFileUri);

0 commit comments

Comments
 (0)