Skip to content
This repository has been archived by the owner on Feb 27, 2019. It is now read-only.

[bug]UI-less permission #165

Closed
quocan2812 opened this issue Apr 15, 2016 · 3 comments
Closed

[bug]UI-less permission #165

quocan2812 opened this issue Apr 15, 2016 · 3 comments

Comments

@quocan2812
Copy link

When I click UI-Less Permission, and choose not allow, and I click it again, nothing show me how to open setting, and the log:<UIAlertController: 0x7f9bcbd7f4d0> on <PermissionScope.PermissionScope: 0x7f9bcc061600> whose view is not in the window hierarchy!
Expected show me alert and help me open my setting.

@bre7
Copy link
Collaborator

bre7 commented Apr 15, 2016

Same as #130 ?

@nickoneill
Copy link
Owner

This is related... but I'm not sure it's a feature that we want. Let me get this straight, @quocan2812, you want to use UI-less methods for requesting the permission but then you want the alert UI if it's disabled?

I think you've got to go in one direction or another here. Either you use the PermissionScope UI and get all the features, or you use the UI-less requests and write your own UI. It would be pretty easy to pull the alert code with the Setttings link out of the permissionscope code for your own use.

@quocan2812
Copy link
Author

thanks for reply,
yes I wrote code for my UI show alert when user not allow or disable this, and move it to setting, I open issue because I want to make your lib more comfortable, Thanks for all ^^

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants