File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -154,6 +154,10 @@ fullscreen = 0
154154# use that parameter to provide a filename from where to load your custom XML code
155155#android.extra_manifest_xml = ./src/android/extra_manifest.xml
156156
157+ # (str) Extra xml to write directly inside the <manifest><application> element of AndroidManifest.xml
158+ # use that parameter to provide a filename from where to load your custom XML code
159+ #android.extra_manifest_application_xml = ./src/android/extra_manifest_application_xml.xml
160+
157161# (str) Extra xml to write directly inside the <manifest><application> tag of AndroidManifest.xml
158162# use that parameter to provide a filename from where to load your custom XML arguments:
159163#android.extra_manifest_application_arguments = ./src/android/extra_manifest_application_arguments.xml
Original file line number Diff line number Diff line change @@ -944,6 +944,12 @@ def execute_build_package(self, build_cmd):
944944 cmd .append ('--extra-manifest-xml' )
945945 cmd .append ('{}' .format (open (extra_manifest_xml , 'rt' ).read ()))
946946
947+ # support for extra-manifest-application
948+ extra_manifest_application_xml = self .buildozer .config .getdefault (
949+ 'app' , 'android.extra_manifest_application_xml' , '' )
950+ if extra_manifest_application_xml :
951+ cmd .append ('--extra-manifest-application-xml={}' .format (open (extra_manifest_application_xml , 'rt' ).read ()))
952+
947953 # support for extra-manifest-application-arguments
948954 extra_manifest_application_arguments = self .buildozer .config .getdefault (
949955 'app' , 'android.extra_manifest_application_arguments' , '' )
You can’t perform that action at this time.
0 commit comments