
外掛標籤
開發者團隊
② 後台搜尋「BrewmyApp — Mobile App Builder for WooCommerce」→ 直接安裝(推薦)
原文外掛簡介
BrewmyApp transforms your WooCommerce store into a fully native iOS & Android app — no coding required. This plugin is the bridge between your WordPress store and your mobile app, providing secure REST API endpoints for OTP authentication, in-app payments, push notifications, cart sync, and more.
Design your app using our block-based Visual App Designer, connect it to your store with this plugin, and go live on the App Store & Google Play.
Key Features
OTP Authentication (Email) — Passwordless login via secure 6-digit email OTP with rate limiting and JWT token response
OTP Authentication (WhatsApp) — Send OTP codes via WhatsApp Business API for instant verification
In-App Payments — Generate secure payment URLs that auto-login customers and redirect to WooCommerce checkout. Works with any payment gateway.
Push Notifications — Send broadcast or targeted push notifications to app users via Expo. Fully configurable from the dashboard.
Order Status Alerts — Automatically notify customers when orders are confirmed, shipped, delivered, cancelled, or refunded
Cart Sync — Full cart management via REST API — add, remove, update items, and apply coupons. Cart stays in sync across app and website.
Back-in-Stock Alerts — Customers can subscribe to out-of-stock products and get a push notification when the item is restocked.
API Logging — Full audit trail of every OTP request, verification, and API call. Filter by channel and export as JSON.
Health Check — Simple ping endpoint for monitoring your store’s API availability from your app
JWT Authentication — Secure token-based auth using HS256 algorithm with configurable secret and expiry
How It Works
Sign up at brewmyapp.io and design your app using our block-based Visual App Designer
Install and activate this plugin on your WooCommerce store
Configure JWT settings, WhatsApp OTP (optional), and push notification templates
Your mobile app communicates with the REST API endpoints provided by this plugin
Users authenticate via OTP, make payments, and receive push notifications — all powered by your WordPress backend
Built For
Store owners using BrewmyApp to create their mobile app
Mobile app developers building WooCommerce apps
Agencies building custom mobile commerce solutions
REST API Endpoints
The plugin registers endpoints under /wp-json/bma/v1/:
POST /otp/request — Send email OTP
POST /otp/verify — Verify email OTP, get JWT
POST /whatsapp/otp/request — Send WhatsApp OTP
POST /whatsapp/otp/verify — Verify WhatsApp OTP, get JWT
POST /payment/order-pay-url — Generate payment URL
GET /payment/order-status — Check order payment status
POST /push-token — Register push token (JWT required)
DELETE /push-token — Unregister push token (JWT required)
POST /push-notification/send — Send notification (Admin JWT required)
GET /push-tokens/users — List users with push tokens
GET /ping — Health check
GET /logs/store-login — API logs (paginated)
Requirements
WordPress 5.8 or higher
PHP 7.4 or higher
WooCommerce 5.0 or higher (for payment features)
WhatsApp Business API account (optional, for WhatsApp OTP)
External Services
This plugin relies on the following third-party (external) services to provide its functionality. Each service, the data transmitted, and the conditions under which data is sent are described below.
1. Expo Push Notification Service (exp.host)
This plugin sends push notifications to mobile app users via the Expo Push Notification Service. The endpoint used is https://exp.host/--/api/v2/push/send (hosted by Expo / 650 Industries, Inc.).
What data is sent:
Expo push tokens (device identifiers registered by the mobile app)
Notification title and body text
Optional data payload (e.g. order ID for deep linking into the app)
When data is sent:
When a store administrator sends a push notification from the WordPress admin dashboard
When a push notification is sent via the plugin’s REST API endpoint
When an order status changes (if order status notifications are enabled)
No data is transmitted to Expo if push notifications are not used.
This service is provided by Expo (650 Industries, Inc.):
Expo Terms of Service: https://expo.dev/terms
Expo Privacy Policy: https://expo.dev/privacy
BrewmyApp WordPress Plugin Terms of Service: https://www.brewmyapp.io/wordpress-plugin/terms-of-service
BrewmyApp WordPress Plugin Privacy Policy: https://www.brewmyapp.io/wordpress-plugin/privacy-policy
2. WhatsApp Cloud API (graph.facebook.com) — Meta
If WhatsApp OTP login is configured, OTP verification codes are sent to users via the Meta WhatsApp Cloud API. The endpoint used is configured by the store administrator and points to https://graph.facebook.com/ (hosted by Meta Platforms, Inc.).
What data is sent:
The recipient’s phone number
The OTP verification code (sent as a template parameter or plain text message)
When data is sent:
When a user requests a WhatsApp OTP code for login or verification
No data is transmitted to Meta if WhatsApp OTP is not enabled and configured in BrewmyApp → WhatsApp settings.
This service is provided by Meta Platforms, Inc.:
Meta Platform Terms: https://developers.facebook.com/terms/
Meta Privacy Policy: https://www.facebook.com/privacy/policy/
3. BrewmyApp Platform
This plugin is designed to work with the BrewmyApp platform (https://brewmyapp.io), a no-code mobile app builder for WooCommerce. The plugin itself does not transmit data to BrewmyApp servers — all communication happens between the mobile app and your WordPress/WooCommerce store directly. However, the mobile apps built using BrewmyApp interact with the REST API endpoints registered by this plugin.
This service is provided by BrewmyApp:
BrewmyApp Terms of Service: https://www.brewmyapp.io/terms-of-service
BrewmyApp Privacy Policy: https://www.brewmyapp.io/privacy-policy
BrewmyApp WordPress Plugin Terms of Service: https://www.brewmyapp.io/wordpress-plugin/terms-of-service
BrewmyApp WordPress Plugin Privacy Policy: https://www.brewmyapp.io/wordpress-plugin/privacy-policy
