Skip to content

Commit

Permalink
Change file provider authorities
Browse files Browse the repository at this point in the history
  • Loading branch information
hzw1199 committed Apr 13, 2021
1 parent bc9f6ad commit 1182b31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion library/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<application>
<provider
android:name="android.support.v4.content.FileProvider"
android:authorities="${applicationId}.file_provider"
android:authorities="${applicationId}.awesome_web_view.file_provider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1556,7 +1556,7 @@ private Intent createCameraCaptureIntent(String[] mimeTypes) {

Uri photoUri = FileProvider.getUriForFile(
this,
getPackageName() + ".file_provider",
getPackageName() + ".awesome_web_view.file_provider",
imageVideoFile);

takePictureIntent.putExtra(MediaStore.EXTRA_OUTPUT, photoUri);
Expand Down

0 comments on commit 1182b31

Please sign in to comment.