The .js file are platform dependent. The API exposed is the same though.
People are working on making the .js the same for all platforms.

Simon

On Saturday, November 26, 2011, Christian Grobmeier <[email protected]>
wrote:
> Hello guys,
>
> I created a phonegap project with Xcode and one for Eclipse. Then I
> compared the phonegap.js files of each of them and found out they are
> very different to each other. In my case, using the Android-Phonegap
> file does not catch the "deviceready" event on the iPhone simulator.
>
> Now I am a bit confused - I thought I could use exactly the same code
> for both devices. Do I need to replace these different phonegap.js
> files on buildtime? I could not find anything about that on the net.
> Hints appreciated!
>
> Cheers,
> Christian
>
>
> --
> http://www.grobmeier.de
> https://www.timeandbill.de
>

-- 
Simon Mac Donald
http://hi.im/simonmacdonald

Reply via email to