example to auto upgrade cordova iOS applications