adb shell screenrecord /sdcard/test.mp4
xcrun simctl io booted recordVideo --type=mp4 screen.mp4
adb shell input keyevent 82
also
adb shell input keyevent KEYCODE_MENU
adb shell screenrecord /sdcard/test.mp4
xcrun simctl io booted recordVideo --type=mp4 screen.mp4
adb shell input keyevent 82
also
adb shell input keyevent KEYCODE_MENU
Make localhost accessible from device:
Android: adb reverse tcp:1337 tcp:1337
- must re-run if you disconnect/reconnect the device from the USB.
ios record video - xcrun simctl - https://medium.com/xcblog/simctl-control-ios-simulators-from-command-line-78b9006a20dc