-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could we ask for several permissions at a time ? #6
Comments
We could but what would be the benefit over: Slightly less characters for sure but make good usage of current tools the platform provides. |
What @mounirlamouri said, the simpler API is much more composable. |
Let's close this if we agree :) |
|
Alright, I confused |
On March 6, 2015 at 2:33:51 AM, Quentin ([email protected]) wrote:
There are strong opinions about |
Agree very much with @QuentinFchx ! User faticue at a series of pop-up permission questions will be fatiguing. Several permissions will allways have to be requested as a batch at App Start |
Why? The right way to do it is this way: https://techcrunch.com/2014/04/04/the-right-way-to-ask-users-for-ios-permissions/ It an app is asking for permissions in some other way, it's just doing it wrong - but that's not the platform's fault. The app developer just needs to do a better job at providing a good experience. |
The jury is in and the recommendations in that article and elsewhere are correct and help deliver the user-experience we all aspire to. As @QuentinFchx implies, perhaps you should lecture Facebook. Having said that, there is nothing that rules out adhering to those guidelines yet needing to ask for more than one permission simultaneously. For example, my NoteToSelf App is going to want to use the Camera and the Microphone. Do we a) annoy the user twice in rapid succession for a potential string or permissions or b) Explain why the posterity-recording function needs sight and sound? How about GeoLocation and Notifications, if it's a geofence traversal Usurper Web App. "Hey crazy user Bargain Hunter needs your Location to work out which one of our partners you're next to and Notifications to let you know when there's a red-hot bargain on! No brainer! Or if we decide to tackle the granularity is: - "Usurper needs to access your location to send the ambulance. Do you agree to Usurper: - @QuentinFchx I think we need requestAnd and RequestOr Another good link on UI |
There is tho: The web platform doesn't really allow that right now. Google did some experimentation with grouping permissions if asked in the same turn of the event loop - I don't know if those experiments went anywhere tho and they just reverted back. Representation of multiple requests at once are not accepted practice across browsers. In fact, the whole |
What if I want to ask 2 or more permissions at the same time ?
Permissions.get(['geolocation', 'fullscreen'])
would be nice.The text was updated successfully, but these errors were encountered: