nabinbhandari / Android-Permissions

Library for easy handling of android run-time permissions.
409 stars 83 forks source link

Options when checking for single permission #21

Closed soenkegissel closed 5 years ago

soenkegissel commented 5 years ago

Hi, I was suffering of issue #11 and fixed it by using setCreateNewTask(). But I can surely not be the only one calling the check from a fragment in example. In IMHO the option is hidden to deep and is not well documented enough.

But my mayor issue is that check function only supports Options parameter in combination with String[] not with String. Can you change that? Of course I can use String[] permissions = {single permission}

nabinbhandari commented 5 years ago

Please stick with String[] permissions = {single_permission} for now.