yosi1984
yosi1984

Reputation: 352

PhoneGap application uses old version of my JS files

I'm developing a mobile application using PhoneGap for over a year and I just started to have a bizarre problem...

I'm editing a js file and then want to see the result on a real device, so I'm building (phonegap build android) and running (phonegap run android) to get the app installed on my device with the updated js files - but after the app starts, it uses the old js file.

I figured these js files must be cached somewhere, so I completely uninstalled the app from my device and then reinstalled it (phonegap run android) - but to my surprise I still got the old JS.

A few hints that may be relevant to this issue:

Any help is appreciated! Joseph.

Upvotes: 2

Views: 418

Answers (1)

yosi1984
yosi1984

Reputation: 352

I ended up solving this issue by removing the android platform and adding it back (phonegap platform rm android && phonegap platform add android)

Upvotes: 2

Related Questions