Skip to content

Instantly share code, notes, and snippets.

@baileysh9
Created January 24, 2018 19:53
Show Gist options
  • Save baileysh9/c5c8b8fd0f72054d68202c5dc20377be to your computer and use it in GitHub Desktop.
Save baileysh9/c5c8b8fd0f72054d68202c5dc20377be to your computer and use it in GitHub Desktop.
FileProvider in AndroidManifest.xml
<provider android:name="android.support.v4.content.FileProvider" android:authorities="com.yourcompany.appname.fileprovider" android:exported="false" android:grantUriPermissions="true">
<meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/file_paths"></meta-data>
</provider>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment