Skip to content

Commit 161c7c1

Browse files
committed
add args.extra_manifest_application_xml to bootstraps
1 parent 0809a23 commit 161c7c1

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
<uses-sdk android:minSdkVersion="{{ args.min_sdk_version }}" android:targetSdkVersion="{{ android_api }}" />
99

1010
<application {% if debug %}android:debuggable="true"{% endif %} >
11+
12+
{{ args.extra_manifest_application_xml }}
13+
1114
{% for name in service_names %}
1215
<service android:name="{{ args.package }}.Service{{ name|capitalize }}"
1316
android:process=":service_{{ name }}"

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@
5252
android:theme="{{args.android_apptheme}}{% if not args.window %}.Fullscreen{% endif %}"
5353
android:hardwareAccelerated="true"
5454
android:extractNativeLibs="true" >
55+
56+
{{ args.extra_manifest_application_xml }}
57+
5558
{% for l in args.android_used_libs %}
5659
<uses-library android:name="{{ l }}" />
5760
{% endfor %}

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@
5555
android:extractNativeLibs="true"
5656
{% if debug %}android:debuggable="true"{% endif %}
5757
>
58+
59+
{{ args.extra_manifest_application_xml }}
60+
5861
{% for l in args.android_used_libs %}
5962
<uses-library android:name="{{ l }}" />
6063
{% endfor %}

0 commit comments

Comments
 (0)