I just read the April announcement from Apache Cordova on their tools release (http://cordova.apache.org/news/2015/04/21/tools-release.html)
They are proposing to use cordova platform add XXX --save which stores the added platform in the config.xml file. In addition, I read for the first time about cordova prepare which is mentioned in the announcement as well.
So far, I have used ionic platform add XXX and ionic state restore.
My question is now if one of the two options has any advantages or disadvantages about the other and how they are different.