My .XML file works fine and I've never experienced any errors to date when uploading it as part of a zip to PhoneGap build. However, after adding in: "" I get an error: "malformed config.xml".
Any ideas what I'm doing wrong?
Any ideas what I'm doing wrong?
- 5 Posts
- 0 Reply Likes
Posted 9 years ago
- 5 Posts
- 0 Reply Likes
Meant to say, after adding in:
preference name="orientation" value="landscape"
but with the < > either side (for some reason, it gets stripped out if I post it?
preference name="orientation" value="landscape"
but with the < > either side (for some reason, it gets stripped out if I post it?
- 5 Posts
- 0 Reply Likes
For some reason, if you remove any spaces before the ' on this line, the issue is resolved?
- 5 Posts
- 0 Reply Likes
...However after testing this, by removing the spaces, the preference don't work! Any ideas?
- 54 Posts
- 1 Reply Like
You maybe arnt terminating you element correctly. Try putting a slash before the closing chevron:
ie "/'>"
ie "/'>"
- 5 Posts
- 0 Reply Likes
I feel like a complete moron- thanks robNeo, it was just missing the '/' at the end. My own fault from copy/pasting straight from the 'Using Config.XML' tutorial. Maybe this could be tweaked by an admin to include the '/' for future users?
Cheers,
Sam
Cheers,
Sam
- 1911 Posts
- 199 Reply Likes
Related Categories
-
PhoneGap Build
- 15111 Conversations
- 275 Followers


