Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Android / ShowRewardAdAdMob() causes orientation to change and breaks the app

Roy Lazarovich
Years of Service
User Offline
Joined: 25th Jan 2017
Posted: 17th May 2017 14:05
Re-posting as I did not receive an answer in the newcomers section

Hi Guys.

I've implemented rewarded videos in my app, which is set to portrait mode with no auto-orientation ( SetOrientationAllowed(1, 1, 0, 0) )
When the rewarded video plays, it changes the orientation anyway, this wouldn't be an issue except that when getting back to the app, the touch screen is no longer working properly, tapping on random areas of the screen will generate taps on buttons which are not visually there (seems like because of the orientation change, the mapping of taps on the touchscreen to the position on screen gets messed up)

Did anyone encounter this? and is there any way of preventing the video from changing the orientation, or, failing that, make the app recalibrate the touch screen so that everything works as intended?


Login to post a reply

Server time is: 2019-08-22 15:42:19
Your offset time is: 2019-08-22 15:42:19