feat: add FileProvider class from AndroidX

This is for getting high quality camera images, and was a requirement for the code I need.
This commit is contained in:
LucasGGamerM
2023-06-12 13:49:03 -03:00
parent a39024dfe1
commit e7654affa7
3 changed files with 970 additions and 0 deletions

View File

@@ -93,6 +93,16 @@
</intent-filter>
</receiver>
<provider
android:name="org.joinmastodon.android.utils.FileProvider"
android:authorities="${applicationId}.fileprovider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths" />
</provider>
</application>
</manifest>