D5876: Android 6 Runtime Permissions

Albert Vaca Cintora noreply at phabricator.kde.org
Wed May 17 09:27:32 UTC 2017


albertvaka added a comment.


  Thanks for starting to work on this! I find your approach to not be very user-friendly, though. Since the app only requests the permission after receiving a packet from the computer, if the user is not looking at the phone, it's easy to miss the popup.
  
  I think that we can do something more similar to the Notifications plugin: check if we have the permission when the plugin is instantiated (that is: after pairing) and if it's not, the initialization function returns false and we will list it on the main screen as "disabled/not working plugins". Then, when the user taps the plugin we show a popup explaining the reason we couldn't load the plugin (we don't have enough permissions) and from there we open the permission request. When you have given permissions, the plugin can load safely.
  
  Can you check how it is done for the Notifications plugin and try something similar?

REPOSITORY
  R225 KDE Connect - Android application

REVISION DETAIL
  https://phabricator.kde.org/D5876

To: nicolasfella, #kde_connect
Cc: albertvaka, seebauer, MayeulC, menasshock, ach, apol, hkaelberer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20170517/0362cac2/attachment.html>


More information about the KDEConnect mailing list