How to block Landscape delivery for iOS | Community
Skip to main content
November 5, 2019
Solved

How to block Landscape delivery for iOS

  • November 5, 2019
  • 4 replies
  • 5601 views

Hi All,

We have  a use case in our implementation where we have to block the delivery for IOS landscape orientation.

We have tried using below configuration but it works only for android and not for iOS:

If anybody has worked on similar case or have any idea about how to configure this please let me know and it would be a great help.

Thanks

Pranav

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by ambikat677427

I am redirecting to https://www.citibank.com.au/servererror.html  

Can you check if screenOrientation parameter is firing with mbox call on given page?
Also screenOrientation  seems to be an custom mbox parameter so mbox implementation should be in such a way that when you toggle the mode the target call should fire with the exact screenOrientation then only target would identify and deliver the experience.

4 replies

surebee
Adobe Employee
Adobe Employee
November 6, 2019

Hi pranavk0102​,

Thanks for reaching out. Not sure if others have an alternate solution, however I'm curious to understand why the screenOrientation is not working as expected. Are you testing in a mobile app or a browser on iOS? Do you have a URL I could test?

Thanks!

November 6, 2019

Hi Surbhi,

We are testing it on browser for both android and iOS.

Below is the URL we are testing:

https://www.citibank.com.au/AUGCB/apfa/augcb/ocmff/LandingPage.do?sourceCode=M7FQF1A1&layout=standard&eClerxTest8

We have build a form based experience and we wanted to do following things:

1) We would like to block landscape delivery for android mobile devices but this screen orientation things just don’t work at all(not for android neither for iOS).

2) Also we would like to exclude few mobile android devices from delivery and for that if we are using device model doesn’t matches ‘model number’ that too doesn’t work. for ex Samsung devices.

Can you please help us here !

Regards,

Pranav

ambikat677427Accepted solution
Level 2
November 6, 2019

I am redirecting to https://www.citibank.com.au/servererror.html  

Can you check if screenOrientation parameter is firing with mbox call on given page?
Also screenOrientation  seems to be an custom mbox parameter so mbox implementation should be in such a way that when you toggle the mode the target call should fire with the exact screenOrientation then only target would identify and deliver the experience.

Level 2
November 6, 2019

I have tested this in my sandbox environment, you can write an offer code using  media query for portrait and landscape and define experience for respective mode.