Closed franckbirba closed 9 years ago
Hey @franckbirba, I'll try to get to writing an example for navigation some time soon, but meanwhile you can try using the ion-nav-view directive with ui-router to do navigation. Take a look at the example here: http://ionicframework.com/docs/api/directive/ionNavView/
thank you Netanel, sorry for the delay i had no time. i tried it but still couldn't make it work. i'll push the code source on some repos to show you
cheers
Franck,
2014-12-03 21:04 GMT+01:00 Netanel Gilad notifications@github.com:
Hey @franckbirba https://github.com/franckbirba, I'll try to get to writing an example for navigation some time soon, but meanwhile you can try using the ion-nav-view directive with ui-router to do navigation. Take a look at the example here: http://ionicframework.com/docs/api/directive/ionNavView/
— Reply to this email directly or view it on GitHub https://github.com/netanelgilad/meteor-ionic-example/issues/4#issuecomment-65479335 .
Franck BIRBA Consultant Mobile Indépendant 0770012365
http://www.franckbirba.fr Rejoignez moi sur Viadeo: http://www.viadeo.com/invitation/franck.birba
I created a sample using ui-router and the layout urigo gives in the tutorial for angular apps; it builds and runs with no error but it doesn't appear to use any of the routing; I've used ionic and angular for a while but I'm new to meteor so the way it loads javascript is still opaque to me.
https://github.com/phaggood/ionmeteorsample
Okay, I got ionic + meteor + angular working together all the way thru http://angularjs.meteor.com/tutorial-02/step_11; the ionic-nav-view will page thru using ui-router's states. The current problem I have is I can't figure out how to get 'meteor run android' to download the correct version of org.apache.cordova.console, I found a temp file /.meteor/local/build-cordova-temp/star.json which has:
"cordovaDependencies": { "org.apache.cordova.console": "0.2.10", which I changed to 2.13 but I still get:
Error: version not found: 0.2.10 : org.apache.cordova.console/0.2.10
I even tried
meteor add cordova:com.phonegap.plugins.console@0.2.13
which appeared to run correctly but didn't change the config which is still looking for the old version.
@phaggood looks like it's a Meteor error. Please open an issue there and reference it here
I've updated to example to include also ui-router and it works.
It is a very simple example so if you want to add more stuff to it I would be very happy.
Closing for now as it all seem to work and @phaggood 's problem is Meteor related
Hi Urigo, thank you for this port, i am starting using it, but i can't find how to change the main view, as the exemple doesn't show it. I tried to use urlrouter and stateprovider but can't make it work... any idea?