zeroasterisk / MeteorRider

PhoneGap/Cordova + Meteor integration approach "DOM hijacking", telling PhoneGap where to get content from, letting Meteor hijack your PhoneGap app's HTML/CSS/JS
MIT License
183 stars 28 forks source link

How do i get device ready working ? #13

Closed crapthings closed 10 years ago

crapthings commented 10 years ago

i've used cordova create a new cordova project and replace index.html and js folder

point meteorurl to my localhost meteor project

cordova emulate ios and i can see rider load my meteor project correctly

but how do i ensure phonegap is working ?

crapthings commented 10 years ago

cordova 3.4.0 meteor 0.7.2

zeroasterisk commented 10 years ago

I think the best approach is to make the phonegap loading page work, without MeteorRider... once done, edit the index.html page to inject the MeteorRider code... leaving the existing PhoneGap code in place.

(PhoneGap index.html+JS is somewhat specific, especially in older versions)

crapthings commented 10 years ago

sorry Didn't check document clearly. I've removed trailing slash then it works. thanks