MrDemonWolf App
Getting Started

Environment Variables

All environment variables used by the MrDemonWolf Official App.

Environment Variables

Copy .env.example to .env and fill in the values for local development.

Required Variables

VariableDescription
EXPO_PUBLIC_WORDPRESS_API_URLWordPress REST API base URL (e.g. https://example.com/wp-json/wp/v2)
EXPO_PUBLIC_WORDPRESS_USER_IDWordPress user ID for the About screen profile (defaults to 1)

Optional Variables

VariableDescription
EXPO_PUBLIC_APP_VARIANTApp variant: development, preview, or production
EXPO_PUBLIC_TAILSIGNAL_API_URLTailSignal push notification API base URL (e.g. https://example.com/wp-json/tailsignal/v1)
EXPO_PUBLIC_PACKRELAY_API_URLPackRelay/WPForms contact form API base URL (e.g. https://example.com/wp-json/packrelay/v1)
EXPO_PUBLIC_PACKRELAY_FORM_IDWPForms form ID for the contact form

EAS Environment Variables

For cloud builds, environment variables are managed via EAS:

# Create a variable for a specific environment
eas env:create --name EXPO_PUBLIC_WORDPRESS_API_URL --value "https://example.com/wp-json/wp/v2" --environment production

# List all variables
eas env:list

# List variables for a specific environment
eas env:list --environment production

Variables are configured for development, preview, and production environments separately.

App Variants

The EXPO_PUBLIC_APP_VARIANT variable controls the app's bundle ID and behavior:

VariantBundle IDUse Case
developmentcom.mrdemonwolf.OfficialApp.devLocal development, internal testing
previewcom.mrdemonwolf.OfficialApp.devTestFlight / internal distribution
productioncom.mrdemonwolf.OfficialAppApp Store / Play Store release

On this page