view .p4a @ 400:71f51198478c

android: handle runtime permissions: - some mandatory permissions are requested on Cagou start, Cagou won't start at all and display a warning message if they are not granted (we request 5 times before showing the warning) - transfer plugin can now use "android_permissions" in plugin_info, to indicate what is necessary. The permissions will then be requested, and the plugin widget won't be shown if they are not granted (and a warning not will then be displayed)
author Goffi <goffi@goffi.org>
date Sun, 09 Feb 2020 23:47:29 +0100
parents 5d994be1161b
children 65958c3c98cb
line wrap: on
line source

--sdk-dir /home/goffi/dev/android/sdk_26.1.1
--ndk-dir /home/goffi/dev/android/android-ndk-r19b
--android-api 28
--dist-name cagou_dev_build
--debug
--bootstrap=sdl2
--requirements "hostpython3, kivy, kivy_garden.modernmenu, sqlite3, omemo, omemo-backend-signal, service_identity, automat, attrs, hyperlink, requests, treq, twisted, wokkel, hg+https://repos.goffi.org/sat, hg+https://repos.goffi.org/sat_tmp, pillow, pyxdg, markdown, html2text, python-dateutil, pycrypto, git+https://github.com/kivy/plyer.git, android, python-potr, shortuuid, babel, lxml, pudb, urwid, cryptography, openssl, pyopenssl, pyasn1, pyasn1-modules"
--private . --package=org.salutatoi.cagou --name "Cagou"
--version 0.1
--whitelist .p4a_whitelist
--blacklist .p4a_blacklist
--icon media/icons/muchoslava/png/cagou_profil_bleu_96.png
--presplash media/icons/muchoslava/png/cagou_profil_bleu_512.png
--orientation fullUser
--window
--arch armeabi-v7a
--service backend:service/main.py
--permission INTERNET
--permission ACCESS_NETWORK_STATE
--permission VIBRATE
--permission RECORD_AUDIO
--permission READ_EXTERNAL_STORAGE
--permission WRITE_EXTERNAL_STORAGE
--intent-filters /home/goffi/dev/cagou/android_intents/share.xml
--ignore-setup-py