Intel XDK - orientation problems

Ideas and discussion about publishing and distributing your games

Post » Thu Nov 26, 2015 12:36 pm

latest update if iOS i guess messed up things becouse mine screen lock is not working anymore... :(

Does anyone have a fix?
B
26
S
11
G
2
Posts: 669
Reputation: 5,038

Post » Mon Dec 07, 2015 12:21 pm

So. I used that plugin for the previous version of my app but now it stopped working.

I want my app to work in landscape only. Android worked fine, but ios did not.

After hours of tinkering with XDK and plugins (and C2's lock orientation action) the best I managed was that the app started in portrait and then after I changed to landscape locked correctly. It was clearly unacceptable though.

So, I just abandonded XDK and did ios version through phonegap cli + xcode (also installed admob as a plugin). It worked fine and locked correctly.

I just can't recommend XDK for ios builds.
B
7
S
2
Posts: 68
Reputation: 645

Post » Tue Dec 15, 2015 4:27 pm

Hey guys

If you intend to build using CLI 5, include this lines on top of the intelxdk.config.additions.xml

Code: Select all
<platform name="ios">
    <preference name="Orientation" value="landscape" />
</platform>


It works very well.
B
70
S
13
G
2
Posts: 989
Reputation: 6,914

Previous

Return to Distribution and Publishing

Who is online

Users browsing this forum: No registered users and 0 guests