Is IONIC 5 stable to start a mobile application? - ionic-framework

Am confused to start a project in ionic on which version?
Before answering this please check date of the question asked.I dont want to make it a long tread

As stated here and here:
The 5.0.0 is only for the CLI commands, NOT the framework itself. Ionic team gives you commands like start and generate which are wrappers on the angular CLI commands. This update doesn’t not affect your apps
The update should not affect your mobile app building.
UPDATE 04/2020
Version 5 of the ionic framework has been released. You can find all the information regarding the new version here and here.

Ionic version 5.0.0-beta.1 still, in the Pre-release stage, I think they planned to release this version at the beginning of the new year.
you can read more about ionic releases and versions in their repo here

Related

which version is/are suitable for a production app for ionic CLI and Ionic framework?

As ionic 4 is released, I am wondering if I should start my new project in ionic 4 and ionic 4.9 (CLI) or any stable version you guys would suggest to prevent any issues ?
I think you can start your project with Ionic 4.0. With this final release, your app will perform better than version 3. Your doubt is good because there are still some bugs this is release but Ionic version 4.0 will allow you to update your application easily with the newer version. Ionic Framework team is working really hard for bug-free Ionic 4.0.

How to get Ionic Pro Deploy to download latest version on first app open

Problem
When I release a new version to the production channel in Ionic Pro Deploy (Channels) then I have to cycle my app twice in order to get the latest version. Even worse, on the first cycle my app reverts back to a far earlier version for some reason.
What I mean by cycling is, starting from a state where the application is shut down and not open, I open the app, wait for the splash screen to go away and app to be ready, and then close the app.
Question
How do I get my app to download the latest version on the very next time I open the Ionic app following my production release?
Plugin configuration
I used the plugin config from the dashboard.ionicjs.com page:
cordova plugin add cordova-plugin-ionic --save \
--variable APP_ID="[myappid]" \
--variable CHANNEL_NAME="Production" \
--variable UPDATE_METHOD="background"
Execute the command you already showed but set UPDATE_METHOD to "auto"
If you wand more control over your updating methods have a look at this:
https://ionicframework.com/docs/pro/deploy/plugin-api.html
In my case, live deploy worked correctly on a "blank" Ionic project. Live deploy also worked correctly on "my" app on iOS but not on Android.
I followed the follow steps and successfully fixed Android. However, during this process iOS suddenly had the same problem (would apply update on app install/close/open).
Set versions as per Ionic support. IonicPro live deploy currently requires these versions. Ionic are in the process of fixing this dependency:
"cordova-plugin-ionic-webview": "1.1.19",
"cordova-plugin-ionic": "4.1.7",
Install a new version of "blank" project. Update my app to use the same npm plugin versions (some of my app plugins were old).
Remove/add android platform. My hunch is this is what ultimately resolved the issue.
I wanted to try a remove/add ios platform to see if that also resolved the issue on iOS. But it was less work to ultimately switch over to IonicPro rather than re-config the local build setup.
Live deploy worked correctly on both iOS and Android after creating binaries in IonicPro.

Angulars with ionic2 working tutorial

We have planned to start our new mobile app using the cordova+ ionic2 framework. its saying that the angular2 in now in bet release and it will be released to production after 2 month. But the team itself saying that even though the reease is i beta we can start the project. But i don't see much tutorial how can integrate the ionic frameork should integrate in my linux machine. Also please guide me the appropriate editor in linux to work in ionic2 with angular2.
Follow the steps in the Ionic2 tutorial http://ionicframework.com/docs/v2/getting-started/installation/. I just upgraded my project to work with the latest version of Ionic2. They are using the Release Candidate 1 of Angular2 (as of this writing), and they are continuously upgrading. It is fairly easy to get a project up and running following the instructions on their site.
I am using WebStorm on my computer (they also have a version for Linux).

Updating Ionic Apps in real time

I'm a web developer, new to Ionic.But I can't find out how can I update my app on the server,like a website,and without having user redownload the app.Is there any solutions?
Thanks!
There's an available plugin you can use Cordova-hot-code-push
This plugin provides functionality to perform automatic updates of the web based content in your application.Basically, everything that is stored in www folder of your Cordova project can be updated using this plugin.
supported platforms: Android 4.0.0 or above.
iOS 7.0 or above. Xcode 7 is required.
It has a great wiki too.
Yes, as of recently there is a solution for this. Ionic calls it Ionic Deploy, and you can see the official documentation about it here.
However, one must note that this is still in Alpha version and they don't recommend it for production, but since they're very apt in shipping new features, I'm sure this will be even production ready very soon.

Migration from ionic beta 13 to beta 14

What are the best possible ways to migrate my project developed in ionic beta 13 version to the latest release of ionic beta 14?
I recommend to review the changelog of ionic https://github.com/driftyco/ionic/blob/master/CHANGELOG.md and the migration guide from AngularJS 1.2 to 1.3 (since the underlying AngularJS version was bumped with beta14 of ionic).
The Angular migration guide is located here: https://docs.angularjs.org/guide/migration
For most projects, the two commands that you'd want to use to get Ionic up to date are:
First, make sure your CLI is up to date:
sudo npm install -g ionic
Second, update the project libraries:
ionic lib update
For advanced users, the links shared in other answers will be of great help.