Skip to content

Commit

Permalink
Add extra xml inside application element option
Browse files Browse the repository at this point in the history
  • Loading branch information
Craulback committed Mar 29, 2022
1 parent 227a765 commit 80ff4e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pythonforandroid/bootstraps/common/build/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -844,6 +844,9 @@ def parse_args_and_make_package(args=None):
ap.add_argument('--extra-manifest-application-arguments', default='',
help='Extra arguments to be added to the <manifest><application> tag of'
'AndroidManifest.xml')
ap.add_argument('--extra-manifest-application-xml', default='',
help='Extra xml to write directly inside the <application> element of'
'AndroidManifest.xml')
ap.add_argument('--manifest-placeholders', dest='manifest_placeholders',
default='[:]', help=('Inject build variables into the manifest '
'via the manifestPlaceholders property'))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@
{% for a in args.add_activity %}
<activity android:name="{{ a }}"></activity>
{% endfor %}
{{ args.extra_manifest_application_xml }}
</application>

</manifest>

0 comments on commit 80ff4e0

Please sign in to comment.