Skip to content

Commit f3e5942

Browse files
authored
Merge pull request #3 from Craulback/dev
Add extra xml inside application element option
2 parents 227a765 + c2b00cc commit f3e5942

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

pythonforandroid/bootstraps/common/build/build.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -844,6 +844,9 @@ def parse_args_and_make_package(args=None):
844844
ap.add_argument('--extra-manifest-application-arguments', default='',
845845
help='Extra arguments to be added to the <manifest><application> tag of'
846846
'AndroidManifest.xml')
847+
ap.add_argument('--extra-manifest-application-arguments', default='',
848+
help='Extra arguments to be added to the <manifest><application> tag of'
849+
'AndroidManifest.xml')
847850
ap.add_argument('--manifest-placeholders', dest='manifest_placeholders',
848851
default='[:]', help=('Inject build variables into the manifest '
849852
'via the manifestPlaceholders property'))

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@
141141
{% for a in args.add_activity %}
142142
<activity android:name="{{ a }}"></activity>
143143
{% endfor %}
144+
{{ args.extra_manifest_application_xml }}
144145
</application>
145146

146147
</manifest>

0 commit comments

Comments
 (0)