-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Change permission UI on Android to enable / expose "permission until X" ability #14128
Comments
In android, we can't change the permission UI android system provides. and we have to use the default android system UI for runtime permissions. and the options we get on the permission it depends on android OS version. |
@deeppandya Can you elaborate more? Do you mean that dialogs shown by the browser on, say, https://permission.site/ do depend on Android UIs? |
@iefremov we can update below UI, |
gotcha, thanks @deeppandya - this was basically my understanding as well |
@karenkliu I'm currently adding this into Android UI, made a quick demo. Can you take a look please? wdyt? r258bmipIV.mp4 |
@goodov how would it work with default android permissions ? |
@goodov Can we use the radio button selection on Android instead of a dropdown interaction? Radio buttons seem more mobile-friendly and suitable for this kind of Android dialog. We're also missing a "Give permission:" title above the selection, to make it clear the options go wit the "Allow" button. |
@deeppandya you mean those dialogs that Android OS shows to the user? they will be the same, we don't touch them.
@karenkliu thanks! Yeah, you're right, will try radio buttons, but I'm worried if the dialog will be too big in this case. Good catch about "Give permission:" text! |
Okay but in that case, wouldn't it be confusing for users ? Because on this dialog user allow to use location for 24 hours but in the app it would be enabled once user allows it. |
I think in the first dialog the user should see that the permission is for the app |
@karenkliu take a look? Maybe you can make a design mock for this if we're not quite there yet? zkOul6iU63.mp4 |
@goodov This looks good to me 👍 According to Deep different Android OS supports different permission lifetimes. So we should make sure the dialog permission options match what is supported by the OS. |
This is currently in |
Uplift PR is created, but we need some testing on |
I'll grab this tomorrow; just verified desktop's #14126 on macOS-Intel 🥳 |
This issue is follow up work for #14126
This issue is specifically to track the design and implementation of UI for brave-android, to enable / expose the new capabilities defined in #14126
The text was updated successfully, but these errors were encountered: