0.1.3 • Published 10 years ago
run-ios-device v0.1.3
run-ios-device
Easy way to run apps on your ios devices.
Features
getDevices(): List all connected devicesgetFirstDeviceId(): Find the first conntected devicegetMatchingDeviceId(nameOrId): Find a matching device- It will look for a matching
udidfirst - In a second round it will look for matching (even partial) device names
- It will look for a matching
install(appPath, deviceId, setProgress): Install your appappPathshould be the full path to your.appfolderdeviceIdis the realudidof the device you want to install on- optional
setProgresscallback that will be called with numbers 0-100
installAndRun(appPath, deviceId, setProgress): Same asinstallbut callsrunin addtionappPathshould be the full path to your.appfolderdeviceIdis the realudidof the device you want to install on- optional
setProgresscallback that will be called with numbers 0-100
run(appPath, deviceId): Launch the given app on the selected deviceappPathshould be the full path to your.appfolderdeviceIdis the realudidof the device you want to install on
Installation
npm install --save run-ios-device