klinker41 / android-chips

Chips in your AutoCompleteTextView on Android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Permissions checking for Marshmallow

tyczj opened this issue · comments

commented

Are there any plans to check for permissions for Marshmallow if not what would be the best way to disable pulling from the contacts provider? Would just not setting the adapter be sufficient?

No, I don't plan on adding this to the library. It shouldn't be pulling any
information until you start typing.

On Thu, Aug 27, 2015 at 12:29 PM tyczj notifications@github.com wrote:

Are there any plans to check for permissions for Marshmallow if not what
would be the best way to disable pulling from the contacts provider? Would
just not setting the adapter be sufficient?


Reply to this email directly or view it on GitHub
#25.

commented

It shouldn't be pulling any information until you start typing

right but how can we stop it from pulling if they dont grant the permission? Basically only have what they type in show up without the contacts list.

unless I am misunderstanding you

If they don't grant the permission then there's no reason to use this
library, it can't do anything.

On Thu, Aug 27, 2015, 1:05 PM tyczj notifications@github.com wrote:

It shouldn't be pulling any information until you start typing

right but how can we stop it from pulling if they dont grant the
permission?


Reply to this email directly or view it on GitHub
#25 (comment)
.

commented

you can still input email address and stuff even if they are not in the contacts provider. It's not completely useless without the contacts provider

Feel free to create this functionality yourself if you need it and submit a
pull request, but I will continue to operate under the assumption that the
permissions have been granted, since that is the entire point of the
library.

On Thu, Aug 27, 2015, 1:11 PM tyczj notifications@github.com wrote:

you can still input email address and stuff even if they are not in the
contacts provider


Reply to this email directly or view it on GitHub
#25 (comment)
.