changeset 209:5e92bc937778

install (buildozer): added READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE permissions for file sharing
author Goffi <goffi@goffi.org>
date Fri, 25 May 2018 12:06:52 +0200
parents c5c1dd7f88e1
children f1ee7a8cf77c
files buildozer.spec
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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