Android and iPhone js files (phonegap-1.0.0.js) are different

  • 2
  • Problem
  • Updated 9 years ago
In the phonegap 1.0.0 download package there are two files named phonegap-1.0.0.js. One is in Android/phonegap-1.0.0 and the other is installed with the PhoneGap-1.0.0.dmg in the iOS directory.

These two files are different (https://gist.github.com/baa4b19eb1de6.... One work on the other device and vise versa. I'm assuming this isn't desired behavior. If it is that should documented clearly, with the files being given different names (since all other resources under www are shared between applications for the two different devices).
-- https://github.com/phonegap/phonegap-...
Photo of alexander

alexander

  • 1 Post
  • 0 Reply Likes

Posted 9 years ago

  • 2
Photo of Andrew Lunny

Andrew Lunny

  • 1911 Posts
  • 199 Reply Likes
They are different files, and there are different JS files for each other supported platform, also. Each platform requires different JS code to communicate with the native layer.

You may be right about the naming conventions - try emailing the phonegap-dev mailing list (groups.google.com/group/phonegap-dev) and seeing what the developers think of your idea.