switch to cordova