Signup for the Ionic Newsletter to get the latest news and updates!

  • http://www.raymondcamdencom/ Raymond Camden

    If I built a new Ionic app Sunday, how do I know what version of the library I have? Normally I’d use ionic lib, but it doesn’t seem to handle v2 yet.

    • Daniel Blanco

      Look at the package.json file in the app’s root folder, you should see the dependency version there. For example:

      “ionic-angular”: “2.0.0-beta.4”

      • http://www.raymondcamdencom/ Raymond Camden

        Thanks – looks like I got 6. Having issues so wanted to make sure I was on latest.

        • Daniel Blanco

          You’re welcome!

    • yesimahuman

      Since we just use npm, you can use npm commands like

      npm view ionic-angular version

      • http://www.raymondcamdencom/ Raymond Camden

        Cool. Is it a known bug that ionic lib doesn’t handle v2 stuff yet?

        • yesimahuman

          We’re deprecating and removing it since it’s no longer necessary with npm and a proper bundler that can load assets from node_modules but output in a static web location. We didn’t do that with v1 so lib just copied the assets over which is no longer necessary.

          • http://www.raymondcamdencom/ Raymond Camden

            Fair enough, but please document it. Not every Ionic user will be familiar with npm and I can see this being a faq.

    • forextor

      I normally use this command `npm outdated` and it will show you what version you have and what version is on the server.

  • Deepak Vishwakarma

    hi ,
    I m using ionic 1.7.14 and created an App which is on play store now ,
    and also i hv done some css changes to my requirements .
    i want to switch to newer version so , do i need to change my controllers method OR it will taken care that i have already created ?

  • Xander

    I think Ionic should decouple from Angular and build js libraries that can be pulled in to any javascript framework. I’ve invested quite some time and built a lot of VueJs apps in the last 1,5 years. Before that I worked with AngularJS a lot and before that I worked with BackboneJS. I’m learning to work with ReactJS.

    As you can read, you could imagine that learning ‘yet another js framework’, for me, feels like a big deal. I could..but I just start to get very very comfortable with my favorite framework(VueJS).

    I can image other developers using EmberJS, or any other framework out there, will feel the same way. Ionic’s tools( I just installed the v2 [email protected] ) are great. I wish I could work with Ionic without having to learn angular 2.

    If these things are already possible then I’m very pleased. I just started to play with Ionic a week ago, so I’m still finding interesting resources ..very fresh.

  • http://www.codingandclimbing.co.uk Dave Shirman

    So how do you catch the “platform.backbutton” event then to override it as suggested in the post?

    previously, I’ve been using “document.addEventListener(‘backbutton’)”, but now that’s broken as of the latest beta 6.

    Thanks!

  • http://andryanmiller.com Ryan Miller
  • Nuno Arruda

    I think you should make the support for Ionic.io services in v2 a priority (specially for push notifications) before all those new components goodness 🙂

  • 7200rpm

    So what is the easiest way to upgrade? Right now I am just updating the package.json file, but this has a cascading effect of updating angular2, etc and seems clumsy. Is there a better way that I’m missing?