I basically have a requirement to load a url inside an Ionic2 app where I have to keep the Ion-header and Footer visible and display the url inside the ….
I tried InAppBrowser, but it overlays the app.
I tried the iframe, but I get the following Refused to display 'http://mysodexo.monforte.it/mense/Mensa-Toyota/mensa' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.
Any other suggestions I can try ? Was anyone able to style the InAppBrowser in a way to make it resizable with CSS so that it fits within ion-content?
Yes. I was able to load a website within the app while keeping the ionic look and feel. Just make sure that in your config.xml you have a “allow-navigation” tag to allow your app to navigate to that url. <allow-navigation href="http://*/*"/>
Using iframe work but the problem came when the device is rotated, the content of the iframe will reload. I also facing the same issue and looking for a better option.