Skip to main content

App configuration

Reference for app.json and runtime settings.

Expo app metadata​

SettingValue
App nameexpo-mobile-template
Slugexpo-mobile-template
Version1.0.0
OrientationPortrait
User interface styleLight
Primary brand color#2563eb

API URL​

The default points at the MobiTrendz hosted production API:

"extra": {
"apiUrl": "https://mobitrendz.onrender.com/"
}

Read at runtime via expo-constants → Constants.expoConfig.extra.apiUrl.

iOS​

"ios": {
"supportsTablet": true,
"bundleIdentifier": "com.anonymous.expomobiletemplate",
"infoPlist": {
"NSAppTransportSecurity": {
"NSAllowsLocalNetworking": true
}
}
}

Android​

"android": {
"usesCleartextTraffic": true,
"package": "com.mobitrendz.expomobiletemplate",
"versionCode": 1,
"adaptiveIcon": {
"backgroundColor": "#2563eb",
"foregroundImage": "./assets/android-icon-foreground.png",
"backgroundImage": "./assets/android-icon-background.png",
"monochromeImage": "./assets/android-icon-monochrome.png"
}
}

Splash screen​

"splash": {
"image": "./assets/splash-icon.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
}

Assets​

FilePurpose
assets/icon.png1024×1024 app icon
assets/splash-icon.pngSplash logo
assets/android-icon-foreground.pngAdaptive icon foreground
assets/android-icon-background.pngAdaptive icon background
assets/android-icon-monochrome.pngMonochrome adaptive layer
assets/favicon.pngWeb favicon

Plugins​

"plugins": ["@react-native-community/datetimepicker"]

Required for native date/time picker modules.

Environment variables​

VariablePurpose
EXPO_PUBLIC_API_URLOverride backend root URL at build/bundle time

Only variables prefixed with EXPO_PUBLIC_ are exposed to the app bundle.

Dependencies (runtime)​

PackageVersionRole
expo~54.0.0Framework
expo-constants~18.0.13Read app.json extra at runtime
react19.1.0UI
react-native0.81.5Native bridge
@hey-api/client-fetch^0.13.1HTTP transport
@react-native-async-storage/async-storage2.2.0Token storage
@react-native-community/datetimepicker8.4.4Due date UI