Skip to content

Commit 455c5af

Browse files
committed
Support --extra-manifest-xml in webview and service_only bootstraps
1 parent 6a685b6 commit 455c5af

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

doc/source/buildoptions.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,8 @@ ready.
166166
- ``add-source``: Add a source directory to the app's Java code.
167167
- ``--port``: The port on localhost that the WebView will
168168
access. Defaults to 5000.
169+
- ``--extra-manifest-xml``: Extra xml to write directly inside the
170+
``<manifest>`` element of AndroidManifest.xml.
169171
- ``--manifest-placeholders``: Inject build variables into the manifest
170172
via the ``manifestPlaceholders`` property.
171173
- ``--enable-google-services``: Enable the Google Services Gradle plugin.

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535
<uses-permission android:name="com.android.vending.BILLING" />
3636
{% endif %}
3737

38+
{{ args.extra_manifest_xml }}
39+
3840
<!-- Create a Java class extending SDLActivity and place it in a
3941
directory under src matching the package, e.g.
4042
src/com/gamemaker/game/MyGame.java

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@
3636
<uses-permission android:name="com.android.vending.BILLING" />
3737
{% endif %}
3838

39+
{{ args.extra_manifest_xml }}
40+
3941
<!-- Create a Java class extending SDLActivity and place it in a
4042
directory under src matching the package, e.g.
4143
src/com/gamemaker/game/MyGame.java

0 commit comments

Comments
 (0)