forked from QuilibriumNetwork/quorum-mobile
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.config.js
More file actions
26 lines (25 loc) · 917 Bytes
/
Copy pathapp.config.js
File metadata and controls
26 lines (25 loc) · 917 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Dynamic Expo config that extends app.json
// This allows us to inject environment variables at build time
module.exports = ({ config }) => {
return {
...config,
plugins: [
// Preserve existing plugins from app.json
...(config.plugins || []),
// Custom plugin to restore splash screen assets after prebuild
'./plugins/withCustomSplashScreen',
// Video and audio support
'expo-video',
'expo-audio',
// SQLite-backed message storage. See services/storage/messagesDb.ts.
'expo-sqlite',
],
extra: {
...config.extra,
// QNS API URL - read from env or use production default
qnsApiUrl: process.env.EXPO_PUBLIC_QNS_API_URL || 'https://names.quilibrium.com',
// Quorum API URL - read from env or use production default
quorumApiUrl: process.env.EXPO_PUBLIC_QUORUM_API_URL || 'https://api.quilibrium.com',
},
};
};