Revert qrcode to fix invalid import. Update FileProvider class.

This commit is contained in:
Mark Qvist 2023-02-04 20:56:10 +01:00
parent 0bd99d3505
commit 1d2f785e70
3 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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)

View File

@ -1,4 +1,4 @@
__debug_build__ = False
__debug_build__ = True
import time
import RNS