I'm building an online/offline application with Swift 3, PHP and MySQL (those are the technologies I know).
There are two applications, one application is iOS native, and uses a WEB View to load the form dynamically provided by a second web application that generates, with PHP, forms (admins can generate those forms). The web application provides a page with the generated form.
The person responsible to fill the maintenance forms can have access or not during his shift to wifi/internet (depending on their location). So that person will need to load all the forms before leaving the office and start their shift.
My question is how can I pre-load all those web forms, and then make them available as request without an internet connection?
The operators need to load all the forms online, fill them online/offline, and once they arrive to the office submit all those forms with the collected data during their shift.
The big problem for me here is that I couldn't find a way to store the forms on the iPad.
I read about doing it with the cache manifiest or using local storage over the web view, although doing that doesn't store the forms, just the data entered in the form.
Any idea, or suggestion will be greatly appreciated! Thanks.
Flow:
Web app -(create)-> New form <-(request)- web view (iOS)
^
MySQL (data)--|
Aucun commentaire:
Enregistrer un commentaire