App upload does not render correctly

  • 1
  • Question
  • Updated 4 years ago
Phone Gap Build upload. When uploading a new version of the app all of the styling is gone from the prior version and the app looks nothing like the prior version. Need some guidance.
Photo of Vanessa Byrem-Tangy

Vanessa Byrem-Tangy

  • 42 Posts
  • 0 Reply Likes
  • confused

Posted 4 years ago

  • 1
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
@Vanessa,

Since this is your first post in some time, please answer the following question.
- Are you using the Desktop App?
- What is your target device/platform and their target versions: Android 4,5,6? iOS 7,8,9?
- What platform are you developing on? Windows, MacOS, Linux?
- Are you using CLI, SDK or Build? Please do not assume the answer, please read the link.
- Are you setting the compiler version?

Thanks
Jesse
Photo of jcesarmobile

jcesarmobile

  • 283 Posts
  • 40 Reply Likes
Are your css files local in the www folder or are they online?

In case they are online, it's probably a whitelist issue.

If they are local, screenshots might help to understand your problem.
Photo of Vanessa Byrem-Tangy

Vanessa Byrem-Tangy

  • 42 Posts
  • 0 Reply Likes
this is being built on a local drive.
- yes - using a desktop app
- devices- all
- developing on MacOS
-I think it is build .
-I don’t know what a complier version is. if its the version number in the config file its set to 1.5.0

hope these answers to your question will help you in assessing this issue.
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
@Vanessa,
Okay, you made a common mistake. The documentation is at fault. I've ask Phonegap to fix this but to no avail. This is the bug report.

On your issue, Phongap Build is different from Phonegap Desktop. If you want to use *Phongap Build*, you'll end up leaving *Phonegap Desktop*.

Here is what you must do.
1) move index.html and config.xml to one directory
2) zip up only those files (and maybe some CSS, Javascript, and few others).
3) upload to Phonegap Build.
4) read and understand how config.xml works - because you will be editing it again and again to make things work.

For config.xml read the Phonegap Build Documentation and those things under Configuring.

That should do it.
Any Questions?
Jesse