Skip to content

Commit 2046052

Browse files
committed
Update file provider path to match cordova-android@13
See apache/cordova-android#1609
1 parent 6c90efd commit 2046052

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
@@ -1122,7 +1122,7 @@ private Intent buildTakePictureIntent() {
11221122
// Compute the Content URI for our file. See: https://developer.android.com/training/camera/photobasics#TaskPath
11231123
photoFileUri = FileProvider.getUriForFile(
11241124
cordova.getActivity().getApplicationContext(),
1125-
cordova.getActivity().getPackageName() + ".fileprovider",
1125+
cordova.getActivity().getPackageName() + ".cdv.core.file.provider",
11261126
photoFile
11271127
);
11281128
takePictureIntent.putExtra(MediaStore.EXTRA_OUTPUT, photoFileUri);

0 commit comments

Comments
 (0)