Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can we support offline Single Page web apps in iOS 10+?

We are developing a Single Page RWD web app which supports all mobile form factors. We would like to

  1. have the webapp support offline browsing capability as well
  2. Once the data is downloaded from server, user should be able to see that data even if there is no internet connection.
  3. Users should be able to fill forms, and later submit it to server, when there is internet connection.

Can we use the AppCache, HTML5 storage to get the offline capabilities? If we are using hash to change the navigation in address bar the whole page refresh problem is also not there.

Was going through some of the older posts in Stackoverflow on this. Offline iOS web app: loads my manifest, but doesn't work offline

This post is dated back in 2011. In 2017, can we support

like image 986
Apps Avatar asked Feb 14 '18 07:02

Apps


People also ask

Is PWA supported in iOS?

On iOS and iPadOS, PWAs are only installable if the user is using Safari. That means that users won't install PWAs if they use different browser apps, such as Google Chrome, Firefox, or Microsoft Edge.

Can I install PWA on iOS?

You can use Progressive Web Apps (PWAs) for a fast web experience on your computer or mobile device. You can install the PWA for faster access and additional functionality, like more storage for content to use offline. Chrome for iOS does not support PWAs.

What are offline first applications?

Offline-First is a software paradigm where the software must work as well offline as it does online. To implement this, you have to store data at the client side, so that your application can still access it when the internet goes away.

Do all browsers support PWA?

The key ingredient required for PWAs is service worker support. Thankfully service workers are now supported on all major browsers on desktop and mobile. Other features such as Web App Manifest, Push Notifications, and Add to Home Screen functionality have wide support too.


1 Answers

If you want to open something from an URL to the webView, you need internet. You can do the following thing in the iOS application with certain conditions.

Users should be able to fill forms, and later submit it to the server, when there is an internet connection.

like image 177
rxtr007 Avatar answered Nov 03 '22 03:11

rxtr007