Skip to content

Commit 56a80dd

Browse files
committed
fix(mobile): configure EAS project id in app config
1 parent c2ae032 commit 56a80dd

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

mobile/app.config.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
import type { ExpoConfig, ConfigContext } from 'expo/config';
22

3+
const expoOwner = process.env.EXPO_OWNER || 'profullstack';
4+
const expoProjectId = process.env.EXPO_PROJECT_ID || '6128e774-2ee6-4e21-b2d2-62a5045b813c';
5+
36
export default ({ config }: ConfigContext): ExpoConfig => ({
47
...config,
58
name: 'ThreatCrush',
6-
slug: 'threatcrush',
9+
slug: 'threatcrush-mobile',
710
scheme: 'threatcrush',
811
version: '0.1.6',
12+
owner: expoOwner || undefined,
913
orientation: 'portrait',
1014
icon: './assets/icon.png',
1115
userInterfaceStyle: 'dark',
@@ -29,5 +33,8 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
2933
plugins: ['expo-router', 'expo-secure-store'],
3034
extra: {
3135
apiUrl: process.env.THREATCRUSH_API_URL || 'https://threatcrush.com',
36+
eas: {
37+
projectId: expoProjectId || undefined,
38+
},
3239
},
3340
});

0 commit comments

Comments
 (0)