8000 Update AndroidManifest.tmpl.xml · kivy/python-for-android@9a11ee2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9a11ee2

Browse files
authored
Update AndroidManifest.tmpl.xml
1 parent 88f8e90 commit 9a11ee2

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

pythonforandroid/bootstraps/sdl2/build/templates/AndroidManifest.tmpl.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,18 @@
128128
{% for a in args.add_activity %}
129129
<activity android:name="{{ a }}"></activity>
130130
{% endfor %}
131+
132+
{% if args.fileprovider_paths %}
133+
<provider
134+
android:name="android.support.v4.content.FileProvider"
135+
android:authorities="{{ args.package }}.fileprovider"
136+
android:exported="false"
137+
android:grantUriPermissions="true">
138+
<meta-data
139+
android:name="android.support.FILE_PROVIDER_PATHS"
140+
android:resource="@xml/file_paths"/>
141+
</provider>
142+
{% endif %}
131143
</application>
132144

133145
</manifest>

0 commit comments

Comments
 (0)
0