Configuration

After installation, you can configure the look and feel of your mobile app directly from the Website Admin Dashboard.

WordPress WooCommerce integration

Ensure that the plugin is installed, activated, and properly configured on your website for the integration to work correctly. WordPress Plugin Installationarrow-up-right

App-Side Configuration (config.ts)

While most settings are dynamic, some core configurations must be set in the app code before building.

File: src/config.ts

// ============================================
// MagicUI API CONFIGURATION
// API Key and Config URL for fetching settings from WordPress
// ============================================

// Paste the full config endpoint URL from WordPress plugin settings
export const MAGICUI_CONFIG_URL = 'http://magicuidemo.local/wp-json/magicui/v1/config';

// Set this in WordPress Admin > Settings > Magic UI
export const MAGICUI_API_KEY = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxx';

Last updated

Was this helpful?