Push notification
push_notificationSend a push notification to a mobile device. For iOS, inject an APNs payload via simctl push. For Android, a valid FCM server key and token are required.
Instructions
Deliver a push notification. iOS: injects an APNs payload via simctl push. Android: unavailable (needs FCM server key + token).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | ||
| payload | Yes | APNs payload object, e.g. {"aps":{"alert":"Hi"}} | |
| device_id | Yes | Device id from list_devices (adb serial like 'emulator-5554', or an iOS simulator UDID) |