I’ve been a Corona user for 18 months now, and I’m nearly ready to submit my first business app to the store. Woohoo! The app has a few simple features, the main one being tableView list of products (with images) that relies on internet access to download new product content.
If the device loses connectivity, or is loaded in airplane mode, the app runs into problems. I am wondering what is the best approach to this problem.
Should I check for internet connectivity on boot and restrict features when offline? (What if they loose connectivity half-way thru using the app)
Should I pop up a native.alert that forces the user to close the app entirely? (Is that even an option since os.exit is forbidden?)
What is the most professional approach to handling an application losing network access?
At this point my biggest concern is to submit a finished product with the least risk of crashing. =]
Any and all advice is welcome. I hope the above questions and scenario are clear. thanks in advance.
-Simon