Config.xml problems

  • 5
  • Question
  • Updated 9 years ago
Having problems with these config settings

<gap:splash src="images/phonestartup.png"/>

Does not seem to work. Can the splash image be in "images" folder or should I put the image in the root web folder?

<preference name="autorotate" value="false" readonly="true"/>

Is this ready to be used? My app still performs a layout change when the phone is rotated to Landscape.

Thanks
Photo of Simon Flack

Simon Flack

  • 24 Posts
  • 0 Reply Likes
  • in need of help again

Posted 9 years ago

  • 5
Photo of Fil Maj

Fil Maj

  • 139 Posts
  • 15 Reply Likes
These are not supported yet, but very very soon! I am actually hoping to roll out support for splash screens for Android and BlackBerry today :) I am pretty sure that splash screen support for iOS is already there.

I'll let you know as soon as that's done and you can give that a shot.

The orientation lock support is something that is in our near-future to-do list, but I don't have an exact ETA for that, unfortunately. I'll reference a link to this thread under that to-do item so that we can update this thread when we do roll that out.

So many features, so little time! ;)
Photo of Simon Flack

Simon Flack

  • 24 Posts
  • 0 Reply Likes
"I am pretty sure that splash screen support for iOS is already there."

Yep... that works well

"So many features, so little time! ;)"

So true.. I am very happy with the build service so far. It is a real time saver. Great work!
Photo of Fil Maj

Fil Maj

  • 139 Posts
  • 15 Reply Likes
Glad you enjoy it!

I am just putting the final touches on the Android splash screen support, will test it out, and hopefully we can run a deploy sometime today.

Will keep you posted :)
Photo of Fil Maj

Fil Maj

  • 139 Posts
  • 15 Reply Likes
Hey Simon,

Splash screen support in Android via config.xml just landed in PhoneGap Build. Give it a shot!

I've been using this repository of my own to test it out - works like a charm!

http://www.github.com/filmaj/John_Gar...
Photo of Simon Flack

Simon Flack

  • 24 Posts
  • 0 Reply Likes
Cool Stuff.

It seemed to work on the emulator. I have sent it to a few friends to test on their phones.

Thanks!
Photo of Fil Maj

Fil Maj

  • 139 Posts
  • 15 Reply Likes
Quick update: also works now on BlackBerries!
Photo of leeblazek

leeblazek

  • 12 Posts
  • 1 Reply Like
is preventing auto-rotate on android available yet?
Photo of Fil Maj

Fil Maj

  • 139 Posts
  • 15 Reply Likes
Not yet.
Photo of James Ivings

James Ivings

  • 19 Posts
  • 1 Reply Like
When rotating the iPhone, the screen doesn't rotate.

I'm pretty sure this wasn't a problem when I built the application from xCode, and it doesn't exist on Android. Is there anything I need to add to config.xml to provide this functionality?

Thanks!

This reply was created from a merged topic originally titled
iPhone screen doesn't rotate..