Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ Control any iOS device or simulator over a simple JSON-RPC API. Tap, swipe, stre
git clone https://github.com/mobile-next/devicekit-ios.git
cd devicekit-ios

# Install dependencies
brew install xcbeautify

# Build unsigned IPA for real devices
make ipa-unsigned

Expand All @@ -74,7 +77,7 @@ Once the server is running at `127.0.0.1:12004`, make your first call:
```bash
curl -X POST http://127.0.0.1:12004/rpc \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"device.screenshot","params":{},"id":1}'
-d '{"jsonrpc":"2.0","method":"device.screenshot","params":{ "format": "png" },"id":1}'

@Rezisn Rezisn May 8, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

found that current implementation of device.screenshot (here) set format as mandatory parameters.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

```

Returns a base64-encoded PNG of the current screen.
Expand Down