Directory / plugin

Brillocraft Connector

v1.2.0 · by Brillocraft

Connect your WooCommerce store to Brillocraft and turn it into a branded iOS and Android app.

View on WordPress.org

About this plugin

Brillocraft is a no-code builder that turns your WooCommerce store into a branded mobile app. This plugin connects your store to Brillocraft in three steps, right from your WordPress admin:

  1. Connect: approve access on WooCommerce’s own approval page.
  2. Sync: Brillocraft checks that it can read your products, categories and orders.
  3. Build your app: open the Brillocraft dashboard in one click. You’re signed in automatically.

The Brillocraft page in your admin always shows your connection status, and tells you what to do if Brillocraft ever loses access (for example, if the API key is removed or your site address changes).

The plugin also provides the REST API endpoints your app uses for:

  • Customer login
  • Password reset
  • Account deletion
  • Store verification (ping endpoint)

Features

  • Connect from WordPress with WooCommerce’s standard approval screen
  • Connection status, with clear recovery steps when something needs attention
  • One-click, automatic sign-in to the Brillocraft dashboard
  • Works in right-to-left (RTL) admin languages, and is keyboard accessible
  • Capture kits: automatic install popup, install prompt and iPhone Smart Banner for connected stores
  • Inline download blocks and banners through the brillocraft_capture shortcode; all widgets use your existing Brillocraft settings and templates

External services

This plugin connects your store to Brillocraft (https://www.brillocraft.com), the service that builds and runs your mobile app. It contacts Brillocraft only after you click Connect store, or, if your store was connected with version 1.0.x, after you open the Brillocraft page.

What is sent, and when:

  • When you click Connect store: your store name, site address, the email address of the admin who clicks, and the WordPress, WooCommerce and plugin versions. This is sent to api.brillocraft.com.
  • When you approve access: WooCommerce itself sends a WooCommerce REST API key (read/write) to Brillocraft. You can see and remove this key at any time in WooCommerce › Settings › Advanced › REST API.
  • Right after approval: Brillocraft calls this plugin’s /wp-json/brillocraft/v1/connection endpoint, authenticated with that key, to deliver a secret that signs all later requests. Brillocraft then reads your product, category and order totals to confirm access.
  • While connected: a connection status check when you open the Brillocraft page; once a day, a check with your site address, plugin, WordPress and WooCommerce versions, and whether the API key still exists.
  • When you click Open Brillocraft dashboard: your WordPress user ID and email address, to create a single-use sign-in link that expires after 5 minutes.
  • When you deactivate, reactivate, disconnect or delete the plugin: a notice of that event, so the dashboard shows the right status.
  • Stores connected with version 1.0.x: when you first open the Brillocraft page, your site address and the last 7 characters of the API key (as shown in WooCommerce) are sent, so Brillocraft can link your existing connection without reconnecting.

Storefront capture kits: on connected stores, the visitor browser sends the store URL to api.brillocraft.com to fetch widget settings (cached for five minutes). Enabled widgets fetch their existing HTML templates from app.brillocraft.com. Displayed widgets send the app ID, widget identifier and device platform for view tracking. Download buttons and QR codes link to api.brillocraft.com/mobile-app-download with the store URL and widget identifier. Popup dismissals are stored in browser session storage. The renderer and QR library ship with the plugin; the QR library loads only when needed.

Your app also uses this plugin’s REST endpoints for customer login, password reset and account deletion.

Brillocraft terms: https://brillocraft.com/terms-and-conditions/
Brillocraft privacy policy: https://brillocraft.com/privacy-policy/

License

This plugin is licensed under the GPLv2.
See license.txt for full terms.
The bundled Inter font is licensed under the SIL Open Font License 1.1 (assets/fonts/OFL.txt).

Plugin tags