IOS Cordova ignoring preferences

Ideas and discussion about publishing and distributing your games

Post » Tue Nov 11, 2014 1:24 pm

Hello,

I'm trying to build a Cordova iOS app in INTEL XDK.
I set Orientation to "Landscape" and Fullscreen to "true" in the Project's cordova option tab.
For some reason, my app stays in protrait mode, and also not fullscreen.

Why is it ignoring these settings? Testing on iPhone 5s and Ipad mini 1. Thank you for any help.
B
9
S
1
Posts: 10
Reputation: 510

Post » Tue Nov 18, 2014 11:59 pm

I have the very same problem on iOS with "Landscape". For me it works with i.e. Phonegap Build but not with Intel XDK. My C2-setting is "Landscape", and I have now tried ALL Intel XDK project settings ("Landscape", "Default", "Portrait") - everytime I get my app in portrait.
B
15
S
2
Posts: 45
Reputation: 802

Post » Wed Nov 19, 2014 12:19 am

Try reporting the issue to Intel, since they develop the XDK.
Scirra Founder
B
395
S
232
G
88
Posts: 24,371
Reputation: 193,762

Post » Sat Dec 06, 2014 9:23 am

jan2000 wrote:I have the very same problem on iOS with "Landscape". For me it works with i.e. Phonegap Build but not with Intel XDK. My C2-setting is "Landscape", and I have now tried ALL Intel XDK project settings ("Landscape", "Default", "Portrait") - everytime I get my app in portrait.


I'm also experiencing the same iOS symptoms, with Phonegap-Build working but not Intel Xdk. Any news with Intel's response? Overall, I'm looking forward to using Intel's well-designed Xdk with Construct 2. :)
B
12
S
1
Posts: 22
Reputation: 678

Post » Mon Dec 08, 2014 6:58 pm

Hi @TecenGod - Did you ever get this to work in XDK? Thanks.
B
8
S
1
Posts: 90
Reputation: 644

Post » Tue Dec 16, 2014 2:34 am

Intel's response was "This is a known open bug in the iOS Cordova build system. There is no way to fix it at this time. The update must come from the Cordova maintainers". (However there are some workarounds mentioned in my thread: https://forums.html5dev-software.intel. ... =31&t=8380 )
But in the meantime @cranberrygame made a ScreenOrientation-plugin which solves the problem! plugin-cordova-related-c2-plugins-crosswalk_t109586
B
15
S
2
Posts: 45
Reputation: 802

Post » Mon Dec 29, 2014 5:50 pm

Message: IanIppolito is not yet permitted to post plain text URLS (300 rep required). 1 URLS removed. Why?
I am also running into the exact same problem. This worked fine before the iOS 8 update, but something in that update broke it. I posted on the Intel xdk forum as well, but so far they have not been able to give a fix: @jan2000, thanks for the info! Are you using the plug-in made by @cranberrygame ? I can't view the plug-in from the link and it's asking for three dollars, so I don't want to order it unless it truly works.

Ian
B
2
Posts: 2
Reputation: 154

Post » Mon Dec 29, 2014 6:00 pm

@IanIppolito

If not work, you can be refunded.

Thanks
Construct2 Cordova Plugins (currently 87 plugins): https://www.scirra.com/store/construct2 ... ugins-1662

Construct2 Prototype Capx (currently 50 capx): https://www.scirra.com/store/games-with ... -capx-3088

Home page: http://cranberrygame.com
B
65
S
22
G
81
Posts: 780
Reputation: 46,631

Post » Mon Dec 29, 2014 8:39 pm

Thx @jan2000, the plugin from @cranberrygame worked for me. Thx also @cranberrygame for the fix. :)
B
12
S
1
Posts: 22
Reputation: 678

Post » Tue Dec 30, 2014 1:13 am

Thanks @jay333. And thanks @cranberrygame. Someone has pointed me to a free plug-in, that supposedly not only fixes this problem, but also standardizes setting landscape/portrait across multiple devices such as android and Windows 8 (in addition to iOS), so I'm going to try that first. If that doesn't work, I'll be downloading your plug-in.
B
2
Posts: 2
Reputation: 154

Next

Return to Distribution and Publishing

Who is online

Users browsing this forum: No registered users and 0 guests