Files
studybuddy/apps/expo/app.config.ts

61 lines
1.3 KiB
TypeScript

import type { ConfigContext, ExpoConfig } from 'expo/config';
export default ({ config }: ConfigContext): ExpoConfig => ({
...config,
name: 'expo',
slug: 'expo',
scheme: 'expo',
version: '0.1.0',
orientation: 'portrait',
icon: './assets/icon-light.png',
userInterfaceStyle: 'automatic',
updates: {
fallbackToCacheTimeout: 0,
},
newArchEnabled: true,
assetBundlePatterns: ['**/*'],
ios: {
bundleIdentifier: 'your.bundle.identifier',
supportsTablet: true,
icon: {
light: './assets/icon-light.png',
dark: './assets/icon-dark.png',
},
},
android: {
package: 'your.bundle.identifier',
adaptiveIcon: {
foregroundImage: './assets/icon-light.png',
backgroundColor: '#1F104A',
},
edgeToEdgeEnabled: true,
},
// extra: {
// eas: {
// projectId: "your-eas-project-id",
// },
// },
experiments: {
tsconfigPaths: true,
typedRoutes: true,
reactCanary: true,
reactCompiler: true,
},
plugins: [
'expo-router',
'expo-secure-store',
'expo-web-browser',
[
'expo-splash-screen',
{
backgroundColor: '#E4E4E7',
image: './assets/icon-light.png',
dark: {
backgroundColor: '#18181B',
image: './assets/icon-dark.png',
},
},
],
],
});