Services
TailSignal
TailSignal push notification service for device registration and notification delivery.
TailSignal
TailSignal is a WordPress plugin that manages push notification delivery via Expo's push notification service.
API Endpoints
Register Device
POST {TAILSIGNAL_API_URL}/register{
"expo_token": "ExponentPushToken[xxxxx]",
"device_type": "ios",
"device_model": "iPhone 15 Pro",
"os_version": "18.0",
"app_version": "1.0.0"
}Registers a device to receive push notifications. Device info is collected using expo-device and expo-constants.
Check Registration Status
GET {TAILSIGNAL_API_URL}/register/status?expo_token=ExponentPushToken[xxxxx]Response:
{
"registered": true,
"active": true
}Used on app launch to verify registration before re-registering.
Unregister Device
DELETE {TAILSIGNAL_API_URL}/register?expo_token=ExponentPushToken[xxxxx]Removes the device registration. Called when the user disables notifications.
Notification Data Format
TailSignal sends notifications with snake_case keys:
{
"post_id": "123",
"post_type": "post"
}| Key | Values | Navigation Target |
|---|---|---|
post_type | post | blog/{post_id} |
post_type | project | portfolio/{post_id} |
Environment Variables
| Variable | Description |
|---|---|
EXPO_PUBLIC_TAILSIGNAL_API_URL | Base URL (e.g. https://example.com/wp-json/tailsignal/v1) |
WordPress Setup
- Install and activate TailSignal on your WordPress site
- Configure TailSignal with your Expo project credentials
- TailSignal uses WordPress hooks to send notifications when posts are published