frida_get_frontmost_app
Identify which app is currently visible on a device by retrieving its identifier, name, and PID.
Instructions
Get the frontmost (foreground) application on a device.
device_id: optional Frida device id (from frida_list_devices);
defaults to local device. Returns {identifier, name, pid}.
Useful on iOS/Android to identify the currently visible app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | No |