Structure if .zip archive

  • 1
  • Question
  • Updated 9 years ago
Hi!

I can't get my app to work on the iPhone if i upload it as a zip archive. The app starts up but the after the PhoneGap load screen it's all white.

What strucutre dirctory/file structure shall I use in my zip package?

Btw, if I upload only my index.html it works fine.

/Mattias
Photo of Mattias Lindsjö

Mattias Lindsjö

  • 5 Posts
  • 0 Reply Likes

Posted 9 years ago

  • 1
Photo of Andrew Lunny

Andrew Lunny

  • 1911 Posts
  • 199 Reply Likes
The zip file should contain an index.html file, either at the root of the zip or in a single directory contained in that zip file. All other assets should be referenced in the index.html file relative to the index.html (i.e. no absolute paths for the file system).