Abuja Digital Studio · Est. 2018
Start a Project
DocsoPWAGetting started
Getting Started

Getting started

oPWAorravo.com/docs/opwa/getting-started

First-run flow

The oPWA admin lives at Orravo Core → oPWA. The tabs cover Manifest, Service Worker, Offline, Push Notifications, Install Prompt, Analytics, and Settings.

Minimum config

  1. Manifest - set app name, short name, theme color, and a 512x512 icon. Click Generate All Sizes to mint the full icon set (72/96/128/144/152/192/384/512 plus a maskable variant) into wp-content/uploads/opwa-icons/. Requires the PHP GD extension.
  2. Service Worker - pick caching strategies (defaults: network-first for HTML, cache-first for static and images). The SW is served at /sw.js as dynamic PHP output
  3. Push Notifications → VAPID - click Generate to create a P-256 key pair
  4. Install Prompt - pick a trigger mode (Immediately, After delay, After scroll, After page views, Exit intent)

Verify

  • Visit the front end. The browser's DevTools Application tab should show the manifest fetched from /manifest.webmanifest and the SW registered at /sw.js
  • Run wp opwa status from the CLI to confirm HTTPS, manifest, SW, and VAPID all show ready
  • Subscribe a test browser to push, then send a test campaign from Push Notifications → New Campaign
Getting started · oPWA Docs | Orravo