AndroidManifest.xmlにFileProviderを追加 WIP

This commit is contained in:
ろむねこ 2023-12-21 11:47:33 +09:00
parent a37648d9d5
commit d325866c3a
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

@ -27,6 +27,16 @@
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.provider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/provider_paths" />
</provider>
</application>
</manifest>