cordova instead of device