Hayk Geghamyan
Hayk Geghamyan

Reputation: 105

Heyzap AdColony orientation issue on app going Foreground state

I'm writing game in Unity3D v5.3.3. The orientation of my game is set only portrait and I'm using Heyzap SDK for ads mediation. I have displaying video ads from Vungle, UnityADS, Heyzap and AdColony providers. After reading a lot of articles about orientation issues, I have done this manual fix in XCode:

Find this return orientations part in UnityAppController.mm file Find this return orientations part in UnityAppController.mm file

and replace it with this one. and replace it with this one.

All is working properly, except one case with AdColony ads. After finishing displaying landscape video from AdColony and getting this screen: Static AdColony screen after playback finish Static AdColony screen after playback finish

Without closing this screen I'm moving app to background and than back to foreground. AdColony's screen disappears and my game displays in Landscape orientation. All the touch controls are not working after this. So the only way to continue is to kill game and run again. Please help with solution.

Upvotes: 3

Views: 588

Answers (0)

Related Questions