# HG changeset patch # User Goffi # Date 1527242812 -7200 # Node ID 5e92bc9377784b366891909c56fef3beda06e124 # Parent c5c1dd7f88e16ad203776942a46fb17464c5ffc0 install (buildozer): added READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE permissions for file sharing diff -r c5c1dd7f88e1 -r 5e92bc937778 buildozer.spec --- a/buildozer.spec Fri May 25 12:06:08 2018 +0200 +++ b/buildozer.spec Fri May 25 12:06:52 2018 +0200 @@ -40,7 +40,7 @@ # comma seperated e.g. requirements = sqlite3,kivy requirements = hostpython2, kivy, sqlite3, pyopenssl, automat, attr, twisted, wokkel, hg+https://repos.goffi.org/sat#egg=sat, sat_tmp, pil, lxml, pyxdg, markdown, html2text, python-dateutil, pycrypto, plyer, android, python-potr, shortuuid, cryptography # below are requirements for dev -# requirements = hostpython2, kivy, urwid, sqlite3, pyopenssl, automat, attr, twisted, wokkel, pudb, hg+http://10.0.0.1:8000#egg=sat, sat_tmp, pil, lxml, pyxdg, markdown, html2text, python-dateutil, pycrypto, plyer, android, python-potr, shortuuid, cryptography, automat +# requirements = hostpython2, kivy, urwid, sqlite3, pyopenssl, automat, attr, twisted, wokkel, pudb, hg+http://10.0.0.1:8000#egg=sat, sat_tmp, pil, lxml, pyxdg, markdown, html2text, python-dateutil, pycrypto, plyer, android, python-potr, shortuuid, cryptography # (str) Custom source folders for requirements @@ -57,6 +57,8 @@ icon.filename = %(source.dir)s/media/icons/muchoslava/png/cagou_profil_bleu_96.png # (str) Supported orientation (one of landscape, portrait or all) +# FIXME: all is not working at the moment, it's changing orientation even when blocked in Android +# and it crashed as soon as we move to landscade, without error message orientation = portrait # (list) List of service to declare @@ -78,7 +80,7 @@ fullscreen = 1 # (list) Permissions -android.permissions = INTERNET, ACCESS_NETWORK_STATE, VIBRATE, RECORD_AUDIO +android.permissions = INTERNET, ACCESS_NETWORK_STATE, VIBRATE, RECORD_AUDIO, READ_EXTERNAL_STORAGE, WRITE_EXTERNAL_STORAGE # (int) Android API to use #android.api = 19