Overview
OMobile (v1.0.0) turns your WordPress site into a full-featured mobile app backend.
Namespace: omobile/v1
Key capabilities:
| Capability | Detail |
|---|---|
| JWT authentication | HS256, 15-min access tokens, 30-day refresh with rotation + reuse detection |
| Remote config | Key/value config delivered to app via /config endpoint |
| Feature flags | Per-device rollout percentages |
| Push notifications | FCM HTTP v1 (service account), APNS token-based (p8), Expo |
| App versioning | Force-update and deprecation controls |
| Crash reporting | Fingerprint-based grouping |
| Analytics | DAU, retention cohorts, top screens, version distribution |
| Device registry | Install ID-based device tracking |
| Segments | Device targeting rules for push delivery |
| In-app announcements | Banners, modals, toasts |
| Content health | Posts missing images, no excerpt, empty content |
| Webhooks | HMAC-signed payloads |
| Config snapshots | Point-in-time rollback |
| WP-CLI | All operations scriptable |
Installation
- Upload the
omobilefolder to/wp-content/plugins/ - Activate via Plugins → Installed Plugins
- Navigate to OMobile → complete the Setup Wizard
On activation, all 19 database tables are created via dbDelta.
php// Override JWT secret in wp-config.php (takes precedence over stored secret)
define( 'OMOBILE_JWT_SECRET', 'your-256-bit-secret-here' );