@mobilenext/mobilecli 0.1.60 → 0.1.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -36,6 +36,7 @@ A universal command-line tool for managing iOS and Android devices, simulators,
|
|
|
36
36
|
- **Screencapture video streaming**: Stream mjpeg/h264 video directly from device
|
|
37
37
|
- **Device Control**: Reboot devices, tap screen coordinates, press hardware buttons
|
|
38
38
|
- **App Management**: Launch, terminate, install, uninstall, list, and get foreground apps
|
|
39
|
+
- **Crash Reports**: List and fetch crash reports from iOS and Android devices
|
|
39
40
|
|
|
40
41
|
### 🎯 Platform Support
|
|
41
42
|
|
|
@@ -220,11 +221,39 @@ Example output for `apps foreground`:
|
|
|
220
221
|
}
|
|
221
222
|
```
|
|
222
223
|
|
|
224
|
+
### Crash Reports 💥
|
|
225
|
+
|
|
226
|
+
```bash
|
|
227
|
+
# List crash reports from a device
|
|
228
|
+
mobilecli crashes list --device <device-id>
|
|
229
|
+
|
|
230
|
+
# Get a specific crash report by ID
|
|
231
|
+
mobilecli crashes get <crash-id> --device <device-id>
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
Example output for `crashes list`:
|
|
235
|
+
```json
|
|
236
|
+
{
|
|
237
|
+
"status": "ok",
|
|
238
|
+
"data": [
|
|
239
|
+
{
|
|
240
|
+
"processName": "ShareExtension",
|
|
241
|
+
"timestamp": "2026-01-24-195529",
|
|
242
|
+
"id": "ShareExtension-2026-01-24-195529.ips"
|
|
243
|
+
}
|
|
244
|
+
]
|
|
245
|
+
}
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
**Note**: On iOS real devices, crash reports are fetched via the Apple crashreport service. On iOS simulators, they are read from `~/Library/Logs/DiagnosticReports/`. On Android, crashes are parsed from `adb logcat -b crash`.
|
|
249
|
+
|
|
223
250
|
## HTTP API 🔌
|
|
224
251
|
|
|
225
252
|
***mobilecli*** provides an http interface for all the functionality that is available through command line. As a matter of fact, it is preferable to
|
|
226
253
|
use mobilecli as a webserver, so it can cache and keep tunnels alive, speeding up your interactions with the mobile device or simulator/emulator.
|
|
227
254
|
|
|
255
|
+
For the full list of available JSON-RPC methods and their parameters, see the [OpenRPC specification](https://github.com/mobile-next/mobile-openrpc/blob/main/mobilecli/openrpc.md).
|
|
256
|
+
|
|
228
257
|
```bash
|
|
229
258
|
# Start the server (default port 12000)
|
|
230
259
|
mobile server start
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED