WholeFoodsCoop / ReactMobileApp

Apache License 2.0
1 stars 0 forks source link

Comments on first use of Android Beta #1

Open flathat opened 7 years ago

flathat commented 7 years ago

Really great to see this.

Device: Motorola Moto G3, Android 6.0

gohanman commented 7 years ago

Thanks! That's all really helpful.

I wish I had a better solution for the stores piece. Google maps doesn't work in the android simulators so I can't really test pre-release builds without buying a 2nd phone.

As far as I can tell react-native doesn't have a way to add pinch-zoom to <Image> elements, but they should do dynamic resize if you turn your phone 90 degrees which effectively zooms in some.

flathat commented 7 years ago

Is the Shopping List inventory-aware? That its, does it know whether items are in stock?

gohanman commented 7 years ago

That's a backend implementation detail. The list is querying a remote website for autocomplete. That website may or may not be inventory aware. In my case I'm using "sold in the last 90 days" as an approximation of in stock. We only run perpetual inventory on a pretty small subset of items so the actual inventory data isn't super useful in this context.

Backend scripts are here: https://github.com/WholeFoodsCoop/MobileBackend