4 ms·
Well, thank you for noticing. I really do appreciate that. This puts you in the very small group of companies/developers who understand that Internet is not ele
by TeMPOraL 10y ago
Well, thank you for noticing. I really do appreciate that. This puts you in the very small group of companies/developers who understand that Internet is not electricity and you can't assume it's always available.
I wish more companies would embrace the two - one would think obvious - points:
- there is such thing as "cache"
- if a thing can be done off-line, it should be done off-line; stop pushing shit to cloud out of laziness
Signed,
A person who is constantly infuriated by the shitty, cloud-first state of mobile infrastructure.
- tyingq 10y agoIt is pretty ambitious, though, to try and make this work for an ecommerce app. Holding the entire product catalog locally isn't feasible. Login is somewhat tricky, and completing the purchase offline has either customer service or financial risk issues. Kudos to them for taking it on, but I don't really fault other ecommerce vendors for giving up early on offline functionality.
- nine_k 10y agoKeeping the whole catalog local is not a viable option. Keeping my latest search results is. Confirming a transaction while offline is usually not an option. Preparing my shopping cart and getting everything ready to just press the "Confirm purchase" button when the connection is available, again, is. (I actually worked for a company that builds a product where this is the core functionality.)
- tyingq 10y agoI agree that it's possible, but the devil is in the details. A cart ready to press the "confirm purchase", for example, implies offline functionality for coupon codes, sales tax, shipping costs, and so forth. Holding full product page info based on just a search is tricky too. Would need the search to cache things like upsell, cross-sell, product options, and so on, that don't usually come back with search. Or short of that, an alternate product page layout that deals with missing info.
- nine_k 10y agoThis very much depends on the target audience. If 90% of your online purchases are made from desktop browsers, maybe you have nothing to care about. If 90% is mobile, it may be worth paying attention to this approach. Currently, AFAIK, mobile buyers are 30-40% of typical e-commerce audience.
- TeMPOraL 10y agoEcommerce is a special case here and I'm willing to excuse them for requiring a good connection. I was thinking about all other kinds of apps that don't really need to have so many things so tied to the Internet. Honestly, I'd be satisfied with the following pattern: - if you can't connect, fail fast - tell me that you can't do the operation because of an intermittent connection - never ever destroy data because of a connection problem; in particular, I hate it every time when an app clears its display before attempting to execute its on-line stuff, which results with me losing the previous state - this way, I take an actual risk each time I execute an operation in the app
- illumin8 10y agoAmen! Even companies like Spotify that support full offline mode do a terrible job of testing their actual software in intermittent connectivity areas. Think about a Metro North train traveling underneath midtown Manhattan in tunnels until it gets to 125th st. in Harlem. While underground, even the best wireless carriers like Verizon and AT&T can't get much of a signal through layers of earth and the metal faraday cages that are train cars. The most infuriating thing is that if Spotify thinks it should have a network connection, because it has a 1xRTT signal with only 1 bar, but no data is actually flowing, the app will just hang and spin trying to connect forever, and become completely unresponsive. You have to enable airplane mode to convince the app that yes, there really is no data access underground. In general mobile developers do a terrible job of actual real-world testing connectivity under a variety of packet loss and latency scenarios. I would strongly recommend that you automate unit testing that inserts random amounts of packet loss and latency into the network connection to see how your app performs. There is open source software like WanEM (WAN emulator) that can do this for you: http://wanem.sourceforge.net/ http://wanem.sourceforge.net/
- Fnoord 10y agoIs there a series of tests (apart from ping) which Spotify could perform, or libraries they could use, which would give them beyond reasonable doubt an indication there is connectivity? Should the application perform this, or the OS?
- illumin8 10y agoI don't know, honestly. I'm just proposing that developers automate unit testing that includes intermittent network connectivity and understand what the failure modes of their app are, and make design decisions based on improving the UX. For example, if you're Spotify, and your app spins for 3 minutes and has to be force quit because network connectivity is degraded, you should probably identify this in automated unit testing and not force your customers to live through this terrible user experience.
- illumin8 10y agoBy the way, I discovered that AWS Device Farm now supports testing with custom network profiles. You can even manipulate the network characteristics in realtime during the test through an API, to simulate traveling through dead zones, etc. https://aws.amazon.com/about-aws/whats-new/2016/12/simulate-mobile-connections-and-conditions-with-aws-device-farm/ https://aws.amazon.com/about-aws/whats-new/2016/12/simulate-...