Hello,
A few days ago, I made a forum post explaining that I was seeing multiple issues when exporting my game to mobile. Specifically, on iOS via TestFlight, the width did not conform to the screen despite being set to do so, the game would try to go into portrait mode despite being told not to do so, and on both versions, if the game lost focus for more than a few seconds or the phone is put in sleep mode, the audio would completely go away.
Here is the link to the forum post. I’m also copying the full descriptions of the issues from said post below:
"1: App goes to portrait but is set to Landscape
The project is configured for Landscape orientation. However, if I rotate the phone into portrait mode while the game is running, the game responds to the orientation change instead of remaining locked to landscape.
Since the game was designed for a landscape layout, a large part of the game is cropped off-screen. Rotating the phone back to landscape gives back the right view.
I want the game to stay in landscape regardless of how the phone is being held, while still allowing the user to rotate between the two landscape orientations.
Here is a video detailing what I’m talking about:
2: The game does not stretch across the screen
I’ve attached screenshots showing what I mean. Even when the game is being displayed correctly in landscape, it appears that the game is not using the full width of the screen.
Here is what it currently looks like on the phone’s entire screen:
Could it be related to the orientation problem described above?
I have it set to put the game in fullscreen at the start. Here is the event on the starting scene:
3: Audio stops after leaving and returning to the app
If I briefly leave the app and then return to it without fully closing it, the game resumes normally, but the audio no longer plays. The game itself continues functioning as expected. Only the audio appears to be affected.
Here is a video for reference. You will need volume for it to make sense."
After talking to some of the people in the other post, we seem to have reached the consensus that it is a bug in GDevelop’s one-click packaging for iOS and Android. If you make a game with the orientation settings and plays any sort of sound on a channel, you should be able to replicate it.
Thank you.




