Adopt to cordova