Add device cordova plugin