0
votes

I have added an icon for my SAPUI5 web app on the home screen of an iPhone. However it is displayed in standalone mode(full-screen) when launched from the icon even though I haven't added a

<meta name="apple-mobile-web-app-capable" content="yes">

tag. Only if this tag has been added the app should be displayed in full screen mode(hiding the URL bar etc. of Safari). Even adding

<meta name="apple-mobile-web-app-capable" content="no">

doesn't help. As far as I have investigated it seems like this is an issue for apps built with UI5. For example SAPUI5 DOCUMENTATION is also always displayed in full screen mode when launched from the home icon on iPhone. This is not the case for apps that are built without using UI5 and without the apple-mobile-web-app-capable tag.

Also when I comment out the part of my code that loads SAPUI5, the app is not launched in full screen mode.

Any suggestions how to display the app in non-standalone mode?

1

1 Answers

0
votes

So I discovered after a lot of debugging that the sap.m.App control creates meta tags in index.html file. So the solution was to remove the meta tag that sap.m.App has created after the sap.m.App has been initialized.