Type and Tap on Virtual Devices
Typing and tapping on the virtual device's interface is easy.
Enable the Corellium Agent
Corellium virtual devices generally include a background agent that allows for keyboard passthrough.
On jailbroken iOS devices, the agent is automatically included.
On non-jailbroken iOS devices, during the initial device creation, leave the option enabled to install the agent.
Use the Web Interface
When using the Corellium web interface, your local mouse and keyboard will automatically be passed through to the virtual device.
Simply use your mouse to click on the iOS field then start typing on your keyboard.
Use the API
The Corellium REST API includes [an option for providing input to a virtual device] (https://app.corellium.com/api/docs#post-/v1/instances/-instanceId-/input).
You will need to include an instance ID, which you can find in the URL on the web interface, and a JSON request body.
Under the Examples dropdown, you can see how to:
- Touch for 100ms
- Swipe with one finger
- Swipe with two fingers
- Type a string of characters
- Touch, wait, then type
For example, to input a string of characters, use the following JSON request body:
[
{
"text": "Hello, world"
}
]