mirror of
https://github.com/liberatedsystems/openCom-Companion.git
synced 2024-11-25 14:50:37 +01:00
Revert qrcode to fix invalid import. Update FileProvider class.
This commit is contained in:
parent
0bd99d3505
commit
1d2f785e70
@ -12,7 +12,7 @@ version.regex = __version__ = ['"](.*)['"]
|
||||
version.filename = %(source.dir)s/main.py
|
||||
android.numeric_version = 20221223
|
||||
|
||||
requirements = python3==3.9.5,hostpython3==3.9.5,cryptography,cffi,pycparser,kivy==2.1.0,pygments,sdl2,sdl2_ttf==2.0.15,pillow,netifaces,libbz2,pydenticon,usb4a,usbserial4a,qrcode
|
||||
requirements = python3==3.9.5,hostpython3==3.9.5,cryptography,cffi,pycparser,kivy==2.1.0,pygments,sdl2,sdl2_ttf==2.0.15,pillow,qrcode==7.3.1,netifaces,libbz2,pydenticon,usb4a,usbserial4a
|
||||
p4a.local_recipes = ../Others/python-for-android/pythonforandroid/recipes
|
||||
requirements.source.kivymd = ../../Others/KivyMD-master
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
__debug_build__ = False
|
||||
__debug_build__ = True
|
||||
__disable_shaders__ = True
|
||||
__version__ = "0.5.2"
|
||||
__variant__ = "beta"
|
||||
@ -294,7 +294,7 @@ class SidebandApp(MDApp):
|
||||
Intent = autoclass("android.content.Intent")
|
||||
Uri = autoclass("android.net.Uri")
|
||||
File = autoclass("java.io.File")
|
||||
FileProvider = autoclass("android.support.v4.content.FileProvider")
|
||||
FileProvider = autoclass("androidx.core.content.FileProvider")
|
||||
|
||||
image.save(file_path)
|
||||
i_file = File(file_path)
|
||||
|
@ -1,4 +1,4 @@
|
||||
__debug_build__ = False
|
||||
__debug_build__ = True
|
||||
|
||||
import time
|
||||
import RNS
|
||||
|
Loading…
Reference in New Issue
Block a user