Ionic 1 or 2 which one should I use? That seems to be a common questions among Ionic users, at least for me it was, I’ve been asking myself that question for about 5 or 6 weeks.
The truth is, it’s an easy choice , people think it’ll be a hard choice to make, but in reality they just aren’t asking themselves the right questions.
I’m going to make this a short post, or at least I’ll try :P, so I’ll jump straight to the questions.
Should I use Ionic 1 or 2?
Is your app easy to make?
Let’s face it, if your app is really easy to make (I built one 2 days ago in 10 hours including logo and image designs) you are probably going on the right path using V2 . It will work, most common things already work there. If it’s not, move to the next question.
Can you stand a few bugs in order to work with a much better version of the framework?
Can you? If you don’t mind reporting a few bugs, asking for help in the forums and taking that extra time building the app then go with V2 , there’s a lot of helpful people out there that will help you get things up & running. If you can’t, move to the next question.
Will it take you over 2 months to go from idea to app?
If it will, then go with V2 things are going to be SO MUCH BETTER in 2 months, that if something you need now doesn’t work, it will probably work by then. If it won’t, move to the next question.
If you need native APIs, are they available in Ionic Native?
One of the most common reasons for people not to use V2 ( or hybrid development in general ) is that they fear they won’t be able to access their camera, contacts, etc. The awesome Ionic Team has created Ionic Native , it’s like ngCordova but for Ionic V2 so if the plugins you need are already there, don’t stress yourself and go with V2 . If they are not, move to the next question.
Can you write them yourself or use regular CORDOVA plugins?
Ok, so they are not in Ionic Native , but can you write them yourself and contribute to open source? Or can you use the regular cordova plugins instead? If you can there’s no reason not to give V2 a try, but if you can’t or just don’t want to then go with Ionic V1 .
I’m attaching a flow chart I made about this, feel free to use it, share it, etc.
I hope this helps, do you feel like I missed something? Just let me know in the comments below!