Cordova API changes