File tree 2 files changed +10
-0
lines changed
2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -147,6 +147,10 @@ fullscreen = 0
147
147
# use that parameter to provide a filename from where to load your custom XML code
148
148
#android.extra_manifest_xml = ./src/android/extra_manifest.xml
149
149
150
+ # (str) Extra xml to write directly inside the <manifest><application> element of AndroidManifest.xml
151
+ # use that parameter to provide a filename from where to load your custom XML code
152
+ #android.extra_manifest_application_xml = ./src/android/extra_manifest_application_xml.xml
153
+
150
154
# (str) Extra xml to write directly inside the <manifest><application> tag of AndroidManifest.xml
151
155
# use that parameter to provide a filename from where to load your custom XML arguments:
152
156
#android.extra_manifest_application_arguments = ./src/android/extra_manifest_application_arguments.xml
Original file line number Diff line number Diff line change @@ -955,6 +955,12 @@ def execute_build_package(self, build_cmd):
955
955
if extra_manifest_xml :
956
956
cmd .append ('--extra-manifest-xml="{}"' .format (open (extra_manifest_xml , 'rt' ).read ()))
957
957
958
+ # support for extra-manifest-application
959
+ extra_manifest_application_xml = self .buildozer .config .getdefault (
960
+ 'app' , 'android.extra_manifest_application_xml' , '' )
961
+ if extra_manifest_application_xml :
962
+ cmd .append ('--extra-manifest-application-xml="{}"' .format (open (extra_manifest_application_xml , 'rt' ).read ().replace ('"' , '\\ "' )))
963
+
958
964
# support for extra-manifest-application-arguments
959
965
extra_manifest_application_arguments = self .buildozer .config .getdefault (
960
966
'app' , 'android.extra_manifest_application_arguments' , '' )
You can’t perform that action at this time.
0 commit comments