Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

Android M's permissions system

$
0
0

Hi guys, I was bit of afraid of it and now I am pretty sure. How does/will do Ionic deal with the new permission system introduced in Android M. I am asking, because I am building an application, targeting API 23 and I am using the ngCordova's emailComposer plugin. When I call $cordovaEmailComposer.isAvailable() it is always saying, that EmailComposer is not available, as Accounts permissions belong to group, that need explicit user permission. So my request is for Ionic developer team mainly, to implement Android's checkSelfPermission() and also requestPermission() methods as Google's recommended practice is to call those two methods to request a permission from user. I do not think, that it to ask the user to go to settings, and allow this app to access accounts. This approach, imho, makes apps less trustworthy.
Correct me, if I am wrong about this. If this feature is already a part of this awesome framework, let me know, how I can use it.
Thank you.


Viewing all articles
Browse latest Browse all 228595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>