-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[$1000] [HOLD for payment 2024-07-24] [Feature] Improve 'location' permission flow with explainer and denied handling modals #37736
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01ae8e8fb606975e83 |
Triggered auto assignment to @dannymcclain ( |
Triggered auto assignment to @johncschuster ( |
Hi @Expensify/design team. Please share your thoughts and suggestions!
|
I agree, we don't do this in oldDot. I think we should ask once and if they choose "once" or "don't allow", we shouldn't ask again for SmartScan. (We can ask again for distance or anything else that may trigger it). |
Definitely agree with the planned course of action here—very standard 👍
Yeah I'm thinking a modal will be best too. Definitely open to other ideas from the design team or anyone else. Do we have any "bottom docked" modal patterns in NewDot that we could use for this? Might be nicer than a full page takeover (on desktop I imagine it's still just going to be a small, centered modal).
Yeah maybe we should ask once per type of flow? (scan, distance, etc.) |
Yup! It might be bottom-docked on mobile and then a centered modal on desktop for that pattern. I agree with the general sentiment though - ask each time for location (assuming the user is tapping "My location"), and only ask once for SmartScan. We might consider re-asking after some time but we shouldn't ask every single time. |
I share the opinions here. Smart to go with the soft ask to ensure we don't end up in a hard-block permissions territory. I could go either on bottom sheet vs centered modal on mobile. I don't mind centered as it's also similar to the permission dialog itself, but don't feel remotely strongly. |
Excellent, thanks everyone. So the next step will be for the flow to be designed. @dannymcclain are you happy to do this? It's not super high priority but it would be great to get this implemented (by a contributor) for the collect release. I believe we need the following:
|
@Julesssss maybe you could add me back as C+ if this goes external. Or, happy to implement it too! |
I agree asking for location permission every time you scan a receipt is
annoying (and doesn’t it harm us if they keep saying no?), but equally it
does greatly improve the results - so a one and done worries me a little.
Bit of a spitball, but I wonder if we should explore doing something with
the system message on SmartScan failures? So when it fails and you haven’t
granted us location permissions, we surface that somehow in the expense
thread as a protip to improve results?
…On Tue, 5 Mar 2024 at 12:01, Ted Harris ***@***.***> wrote:
Asking for the location permission every time the user scans a receipt can
get quite annoying. What are your thoughts here? Should we stick with this
for now, or explore alternatives like a timed delay?
I agree, we don't do this in oldDot. I think we should ask once and if
they choose "once" or "don't allow", we shouldn't ask again for SmartScan.
(We can ask again for distance or anything else that may trigger it).
—
Reply to this email directly, view it on GitHub
<#37736 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD3246POARUGUFRQ2LXE57LYWWXXZAVCNFSM6AAAAABEG7UFUSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZYGYYDCOJRHA>
.
You are receiving this because you are on a team that was mentioned.Message
ID: ***@***.***>
|
Sounds good to me! I'll share some stuff here once I've had a chance to work on it. |
Nice, that's looking good! I think it's fine to have the modal on top of modal situation on desktop. For the illustration, I wonder if there's something to be tried by adding a receipt into the mix somehow? Basically communicating that we want the location of the receipt as it helps with currency accuracy. |
Nice! I like 1 and 3 here. The simplicity of 1 is quite nice, though you lose the cool earth. What are you feeling? |
@shubham1206agra offer out to you. |
@garrettmknight I think the offer should be $500 here as this was created before the April 6 deadline. |
We also need to discuss with @allroundexperts the price for this feature implementation. The scope was bigger than usual, and although the complication delays shouldn't be considered we agreed beforehand that this would be treated differently. |
@Julesssss I'm happy with anything above $500 😄 |
I'd say $1000 seems fair considering the amount of work necessary here. We also started this a few months back, when the default bounty was higher. Perhaps we should agree on that payment including a fix for this mWeb permission task. Leaving this for a couple of days to see if anyone disagrees. |
Upwork job price has been updated to $1000 |
Hi @allroundexperts. You may want to submit a proposal for this follow-up, considering you know the code well already. |
Test steps
[iOS/Android ONLY from here on]
|
Payment Summary:
|
Triggered auto assignment to @zanyrenney ( |
@zanyrenney I've created the QA - can you just make sure these two get paid while I'm OOO? Thanks! |
@zanyrenney @garrettmknight Accepted offer |
Paid! Just waiting on @allroundexperts to request now |
I've noted it down @garrettmknight. Feel free to close! |
@allroundexperts I was about to close this issue, but I'm not sure what you meant by 'I've noted it down'? Can I assume you have received payment? |
I haven't received it yet. But I've added it to my tracker so even if its closed, I'd be able to still request the payment later on. I just do this to batch several payments together. |
Oh great, thanks for confirming. |
$1,000 approved for @allroundexperts |
Problem
Currently, we do not handle the case where users deny the location permission. This leads to a few problems on our mobile apps:
GPS disabled, location permission disabled
GPS enabled, location permission disabled
Full location flow (Android)
Untitled.mp4
Solution
The typical solution for mobile apps is to implement the following for permissions:
Okay
orCancel
)Okay
, we show them the native OS permission promptThis better explains to users why we need the prompt, and prevents the need for the complicated 'Please navigate to App Settings > Permissions, and enable XYZ' instructions.
We have already implemented the above flow for the Camera permission. Let's build a similar flow for the location prompt. Here is the Camera flow:
Proposed changes:
Pending @Expensify/design review
Location permission flow
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @Issue Owner
Current Issue Owner: @zanyrenneyThe text was updated successfully, but these errors were encountered: