Signal-iOS icon indicating copy to clipboard operation
Signal-iOS copied to clipboard

UX of permissions dialog

Open corbett opened this issue 12 years ago • 10 comments

a lot of beta testers are confused by the onslaught of permissions requested by iOS, and many accidentally or purposely don't enable one or a few. this then causes weird behavior (like not having access to the microphone!) which isn't highlighted but for not being able to hear anything on the part of the user. what we'd want would be to -manage the permissions more in line with apple UX guidelines, and maybe only access permissions as needed (for example the microphone when the user first accepts a call or calls), or right after they go ahead and register instead of before they even start to use the app -notice when permissions have been denied and remind the user of the features they will not benefit from (microphone is mandatory, but a user could try to call another signal user without given the app access to their contact address book)

corbett avatar Jul 12 '14 08:07 corbett

as a note users can change the permission of the microphone post-facto by going to Settings->Privacy->Microphone and clicking enable next to Signal. reinstalling the app doesn't re-request for permissions, so this is needed to change.

corbett avatar Jul 12 '14 08:07 corbett

Right, so when Signal is installed on a new device two kind of permissions are requested:

  • Access to the microphone
  • Push notifications

Both are necessary since without microphone, a calling app is kinda useless. And the push notifications are required for signalling purposes. Now the challenge is how to explain that to the user. What I can do is put a warning notification if I detect that the permission hasn't been granted.

FredericJacobs avatar Jul 12 '14 08:07 FredericJacobs

Yes... but we could ask for access to both after the user has registered their phone number. Before then it doesn't really make sense anyway.

suggestion -access to microphone: either after user registers phone number, or at moment before user receives first call or makes first call... -push notifications: after user registers phone number -address book(I think we need this too!)

and not let the user use the app but rather display an info page about why permissions are needed and how to change them if access to the microphone or push notifications is disabled. As far as I can tell the user will still be able to use the app, if they know who of their frieda are signal users and try to call them manually.

C

On Sat, Jul 12, 2014 at 10:33 AM, Frederic Jacobs [email protected] wrote:

Right, so when Signal is installed on a new device two kind of permissions are requested:

  • Access to the microphone
  • Push notifications

Both are necessary since without microphone, a calling app is kinda useless. And the push notifications are required for signalling purposes. Now the challenge is how to explain that to the user. What I can do is put a warning notification if I detect that the permission hasn't been granted.

— Reply to this email directly or view it on GitHub https://github.com/WhisperSystems/Signal-iOS/issues/21#issuecomment-48805819 .

Christine Corbett Moran [email protected] Physics @ ICS.uzh.ch // Zurich: +41 79 962 4499 Dev @ http://circleof6app.com // Boston: +1 (617) 398-0452 Dev @ https://whispersystems.org // SF: +1 (415) 670 9629 www.christinecorbettmoran.com

corbett avatar Jul 12 '14 08:07 corbett

On 07/12/2014 01:38 AM, Christine Corbett Moran wrote:

-access to microphone: either after user registers phone number, or at moment before user receives first call or makes first call...

It was originally requested at the moment a user makes/receives a call. This didn't work because people would accept the call then immediately put the phone to their ear without seeing the dialog.

  • moxie

http://www.thoughtcrime.org

moxie0 avatar Jul 12 '14 15:07 moxie0

yea of course we would have to not let the user accept the call until they clicked yes for the permission... in that case. The first ringing call would have to go to: *push notification *processed: oh crap first call *instead of displaying call accept or deny dialog popup to "to accept this call, Signal needs access to your microphone" *after OK continue ringing

the worst case in this scenario is that the user accepts microphone but because of the latency this causes then gets a missed call (only happens once). they will then call the missed call back I guess if they want to

that's only one scenario, of course the alternative to to ask somewhere in app setup.

C

On Sat, Jul 12, 2014 at 5:50 PM, Moxie Marlinspike <[email protected]

wrote:

On 07/12/2014 01:38 AM, Christine Corbett Moran wrote:

-access to microphone: either after user registers phone number, or at moment before user receives first call or makes first call...

It was originally requested at the moment a user makes/receives a call. This didn't work because people would accept the call then immediately put the phone to their ear without seeing the dialog.

  • moxie

http://www.thoughtcrime.org

— Reply to this email directly or view it on GitHub https://github.com/WhisperSystems/Signal-iOS/issues/21#issuecomment-48815806 .

Christine Corbett Moran [email protected] Physics @ ICS.uzh.ch // Zurich: +41 79 962 4499 Dev @ http://circleof6app.com // Boston: +1 (617) 398-0452 Dev @ https://whispersystems.org // SF: +1 (415) 670 9629 www.christinecorbettmoran.com

corbett avatar Jul 12 '14 15:07 corbett

I think asking it upfront is a reasonable thing for a calling app, it should be part of the sign up flow. Maybe I'll add a view controller about that.

FredericJacobs avatar Jul 12 '14 16:07 FredericJacobs

yes, I am with that. but I think it should be asked for after the user registers, and maybe alongside some text explaining what we do with permissions.

C

On Sat, Jul 12, 2014 at 6:02 PM, Frederic Jacobs [email protected] wrote:

I think asking it upfront is a reasonable thing for a calling app, it should be part of the sign up flow. Maybe I'll add a view controller about that.

— Reply to this email directly or view it on GitHub https://github.com/WhisperSystems/Signal-iOS/issues/21#issuecomment-48816148 .

Christine Corbett Moran [email protected] Physics @ ICS.uzh.ch // Zurich: +41 79 962 4499 Dev @ http://circleof6app.com // Boston: +1 (617) 398-0452 Dev @ https://whispersystems.org // SF: +1 (415) 670 9629 www.christinecorbettmoran.com

corbett avatar Jul 12 '14 17:07 corbett

Most iOS apps ask permissions in context. For example: a retouching app asks to access the user photos only when he clicks on the edit my photos button.

Yesterday when I launched Signal for the first time... all 3 permission modal windows were racing for focus... first was the push notification, then came the mic which took focus, then the contact list also took focus and only then I was able to grant the push notification.

In this typical case of permission perfect storm, I would only grant the microphone. But I know your heart is in the right place and I know the roots of these permissions.

As @corbett asked you should warn the user and ask for permissions in context. But the app should work in a degraded mode with all permissions rejected:

  • no microphone = you are limited to text chat only (aka TextSecure mode).
  • no push notification = you won't be able to be notified of incoming calls or text messages.
  • no contact list = you will need to manually add users phone numbers in a private Signal contact list (asked by @runasand).

fabriceroux avatar Jul 30 '14 19:07 fabriceroux

Perhaps talking into the microphone and receiving a push notification should be a mandatory part of the signup flow?

After you respond to the verification text, the app could go into "Mic setup validation mode". The app stays in that mode until the user taps "Press here to yell at app that it's being stupid for requiring you to yell at it". If the app detects not-silence, it accepts and moves on to the next setup step, else it explains how to enable the mic.

Then the app goes into "Push validation mode", and asks the server to ping it with a push notification. Same basic process, except potentially more confusing because the user is not directly doing anything, so this one comes second.

Strilanc avatar Jul 30 '14 23:07 Strilanc

Added checks for disabled permissions.

Push permission is now part of the sign-up flow, warns user of consequences of disabling it. (also checked at launch of the app).

We will design a new signup flow with explanations as part of the new app redesign.

FredericJacobs avatar Aug 08 '14 23:08 FredericJacobs