why after build apk file put phonegap library 2 time phonegap.0.9.5.js and phonegap.js in assets/www
- 19 Posts
- 0 Reply Likes
Posted 9 years ago
- 1941 Posts
- 89 Reply Likes
Did you by any chance upload the phonegap.0.9.5.js with your project?
If so then please remove it and inside index.html please reference phonegap.js
The reason for this is so we can provide the correct library when building for different platforms.
Hardeep Shoker
If so then please remove it and inside index.html please reference phonegap.js
The reason for this is so we can provide the correct library when building for different platforms.
Hardeep Shoker
- 19 Posts
- 0 Reply Likes
Hi, no I don't upload the library, put only src="phonegap.js" in the head, but after build looking in the folder assets/www and phonegap.com put the library 2 times one with the version number and one without in the apk files because if it is the same?
- 1911 Posts
- 199 Reply Likes
We copy the current version of phonegap (phonegap.0.9.5.js) to a standard file (phonegap.js) so that you can reference a single file for all platforms, without needing to know which version we're currently running on the server.
It also allows you to know which version is on there, if you need to debug.
It also allows you to know which version is on there, if you need to debug.


