Adding cordova support