Using the Website Feature in a Progressive Web App (PWA) compared to a native application has its differences which are explained in this article.
In a native app, the website feature is essentially a 'lite' version of a browser, like Chrome or Safari.
In a PWA you are either already in the browser, or if it is added to the device homescreen you are running a version of that device's browser.
Displaying a website inside a PWA is effectively displaying a website within a website. The technical term for this is an 'iframe'. It is not possible to use iframes in the following cases:
- Our Progressive Web App product is a fully secure web app that is hosted over an SSL secure connection. Sites that have insecure connections can be blocked from being iframed by the browser. Browsers like Chrome, Safari, Firefox, and others choose how to block these pages, and they even do it differently depending on the platform. (i.e. Safari on your laptop can act differently to Safari on your iPhone.)
- Websites can block from being placed in an iframe using the X-Frame-Options or other detectable means. Websites such as Google.com, Facebook.com, Amazon.com and more block from being iframed. It is possible to check whether a website is not allowing the iframe by using a website such as free iframe checker. Enter the URL and run the checker. Here is a sample of the blocking output from Amazon.com:
- Frame killer scripts: This is another way websites can block from being iframed. Using the frame killer checker on the same website as above, paste the URL and run the checker. If you see the website displayed in the box on their site, you should be ok. If it does not display, they are using alternative means to block the iframe.
We have introduced a couple of informational error pages to both educate you as to why that page is not working and to allow your users to access those URLs if you chose to let them. You can see the screen below showing some of the error messages. This page will be displayed instead of the alternative, a blank white screen.
These sentences can be found and modified using the translation tool.