Skip to content

Address remember; Geofence check #419

@vcardillo

Description

@vcardillo

Source: bentocorp/ios#263


The map should load their last-used location.

IF the user does NOT change their address, AND they are outside of the radius of their prior address, then trigger the warning.

IF the user does change their address, then there is no reason to trigger the warning, even if they are outside of the radius. (The logic being, I just type the address in--I know what I am doing. Maybe I'm home, but ordering to work tomorrow.)

The goal is just to prevent this scenario:

My prior-used address is work. But today I am home, not at work. I want to schedule delivery for home. I load the app, the map defaults to my last used address which is work, I don't notice that, and I continue on my merry way, eventually ordering the Bento to my work, instead of home.


https://bentonow.slack.com/archives/D08U3KPEX/p1458852143000010

vincent [1:42 PM]
Hey Jose

[1:42]
Check out this thing we did for iOS: bentocorp/ios#263

[1:43]
One thing I have noticed about the Android app, is that it never remembers where your last address was. It just always auto-fills current location.

[1:43]
I am wondering if we can pre-populate with the last address used, and then show the geofence confirm message on checkout if you're too far from it.

jose.torres [3:04 PM]
Hey yeah we can do that

[3:04]
Let me do it for this releaae

vincent [3:05 PM]
Okay, cool

[3:07]
The geofence_order_radius_meters key from settings is used as the distance radius for the app.

jose.torres [3:09 PM]
Are we going to show the message each time the user create an order???

vincent [3:10 PM]
:thinking_face:

[3:12]
The map should load their last-used location. IF the user doesn't changed the address, AND they are outside of the radius of their prior address, then trigger the warning.

[3:12]
Since you show the map 1st, every time, the warning would happen there, at the beginning, on the map screen.

jose.torres [3:13 PM]
Yeah i like that idea

[3:13]
👍

vincent [3:14 PM]
Great

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions