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 @@ -154,6 +154,10 @@ fullscreen = 0
154
154
# use that parameter to provide a filename from where to load your custom XML code
155
155
#android.extra_manifest_xml = ./src/android/extra_manifest.xml
156
156
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
+
157
161
# (str) Extra xml to write directly inside the <manifest><application> tag of AndroidManifest.xml
158
162
# use that parameter to provide a filename from where to load your custom XML arguments:
159
163
#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):
944
944
cmd .append ('--extra-manifest-xml' )
945
945
cmd .append ('{}' .format (open (extra_manifest_xml , 'rt' ).read ()))
946
946
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
+
947
953
# support for extra-manifest-application-arguments
948
954
extra_manifest_application_arguments = self .buildozer .config .getdefault (
949
955
'app' , 'android.extra_manifest_application_arguments' , '' )
You can’t perform that action at this time.
0 commit comments