내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

How to block Landscape delivery for iOS

Avatar

Level 1

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:

Screen-Orientation.jpg

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

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 3

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 답변 개

Avatar

Employee

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!

Avatar

Level 1

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=standar...

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

Avatar

정확한 답변 작성자:
Level 3

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.

Avatar

Level 3

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.