@@ -17,7 +17,7 @@ source.dir = src
17
17
source.main_py = fiscalberry/gui.py
18
18
19
19
# (list) Source files extensions to include
20
- source.include_exts = py,png,jpg,kv,atlas,json,pem,crt # Add other extensions if needed (e.g., fonts, sounds)
20
+ source.include_exts = py,png,jpg,kv,atlas,json,svg, pem,crt,ico # Add other extensions if needed (e.g., fonts, sounds)
21
21
22
22
# (list) List of inclusions using pattern matching (relative to source.dir)
23
23
# Include assets and the capabilities.json at the root of src
@@ -41,8 +41,9 @@ version.filename = %(source.dir)s/fiscalberry/__init__.py
41
41
# (list) Application requirements
42
42
# Comma-separated list of recipes or pure-Python packages.
43
43
# IMPORTANT: Verify each requirement. Check if python-for-android recipes exist for non-pure-Python libs.
44
- # Remove unnecessary dependencies (like pika if not used on mobile, pywin32, argparse).
45
- requirements = hostpython3,python3,kivy==2.3.0,python-escpos,python-socketio[client],requests,aiohttp,pillow,python-barcode[images],qrcode[pil],appdirs,platformdirs,pyjnius
44
+ # Remove unnecessary dependencies (like pika if not used on mobile, pywin32,).
45
+ requirements = hostpython3,python3,kivy[base],python-escpos[image,qrcode,usb,serial],python-socketio[client],requests,platformdirs,pyjnius
46
+
46
47
47
48
# (str) Presplash of the application
48
49
presplash.filename = %(source.dir)s/fiscalberry/ui/assets/fiscalberry.png
@@ -82,13 +83,13 @@ android.permissions = INTERNET, FOREGROUND_SERVICE, ACCESS_NETWORK_STATE
82
83
# android.features = android.hardware.usb.host
83
84
84
85
# (int) Target Android API, should be as high as possible.
85
- android.api = 33
86
+ android.api = 35
86
87
87
88
# (int) Minimum API your APK / AAB will support.
88
- android.minapi = 21
89
+ android.minapi = 28
89
90
90
91
# (int) Android NDK API to use. Should usually match android.minapi.
91
- android.ndk_api = 21
92
+ android.ndk_api = 28
92
93
93
94
# (bool) Automatically accept SDK license agreements. Useful for CI.
94
95
android.accept_sdk_license = True
@@ -103,16 +104,19 @@ android.accept_sdk_license = True
103
104
# android.service_class_name = org.kivy.android.PythonService
104
105
105
106
# (list) The Android archs to build for
107
+ # android.archs = arm64-v8a
106
108
android.archs = arm64-v8a, armeabi-v7a
107
109
108
110
# (bool) enables Android auto backup feature (Android API >=23)
109
111
android.allow_backup = True
110
112
111
113
# (str) The format used to package the app for release mode (aab or apk). aab is recommended for Play Store.
112
114
android.release_artifact = apk
115
+ android.release = false
113
116
114
117
# (str) The format used to package the app for debug mode (apk).
115
- # android.debug_artifact = apk
118
+ android.debug_artifact = apk
119
+ android.debug = true
116
120
117
121
#
118
122
# Python for android (p4a) specific
0 commit comments