Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

Disable apple-mobile-web-app-capable

$
0
0

Hello,

 

We are currently developing a sapui5 application which should run as a standalone web application. The user authentication is done with OAuth2. When running the application from the iPad home screen, this is done in a 'headerless' browser (no navigation, no address bar,...). When checking the source of the application, there is indeed the meta-tag apple-mobile-web-app-capable which is set to true. No tricky parts here...

 

The problem we experience is the application navigates to different non-sapui5 applications. There is no navigation provided in these applications so we can't go back to the sapui5 application. Therefore we want to disable the apple-web-app-capable meta-tag, but (for now) this isn't working...

 

After reading the sapui5 docs, I didn't find a way to disable the meta-tag. I already tried to change the value of the meta-tag and also removing it completely using javascript, but this doesn't seem to work because of the redirects that are performed to authenticate the user through OAuth2. Is there a way to disable this behavior through the sapui5 runtime? (did I miss something in the docs...) Or did anyone manage to disable this through javascript? Or is there another solution? :-)

 

The sapui5 version we are currently using is 1.20.1

 

Kind regards,

Maarten


Viewing all articles
Browse latest Browse all 6178

Trending Articles