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

onMigrate deprecated in latest Meteor release #17

Closed celebvidy-owner closed 10 years ago

celebvidy-owner commented 10 years ago

the onMigrate hook isn't working anymore. Any ideas on how it should be now?

Matheus90 commented 10 years ago

+1

bitspook commented 10 years ago

+1 from me too.

raix commented 10 years ago

Not sure, the onMigrate is deprecating - not removed yet... There is still a Reload._onMigrate that packages can use (you have to add / use the reload package in order to access the scope)

I've made a semi copy of the standard-app-packages and targeted it my packaged app - I exclude a number of packages one is the reload package. (you have to meteor remove the standard-app-packages and add your own mobile-app-packages)

zeroasterisk commented 10 years ago

@celebvidy & @Matheus90 & @channikhabra - would you be so kind as to test out the updated code and tell me if you think it's working better?

Please submit a pull request with fixes, and/or comment on this issue and re-open if not working.

Thanks for the help!