chefhai/app.config.js

50 lines
1.0 KiB
JavaScript

import 'dotenv/config';
export default {
expo: {
name: 'chefhai',
slug: 'chefhai',
version: '1.0.0',
orientation: 'portrait',
icon: './assets/images/icon.png',
scheme: 'chefhai',
userInterfaceStyle: 'automatic',
newArchEnabled: true,
ios: {
supportsTablet: true
},
android: {
usesCleartextTraffic: true,
adaptiveIcon: {
foregroundImage: './assets/images/adaptive-icon.png',
backgroundColor: '#ffffff'
},
edgeToEdgeEnabled: true
},
web: {
bundler: 'metro',
output: 'static',
favicon: './assets/images/favicon.png'
},
plugins: [
'expo-router',
[
'expo-splash-screen',
{
image: './assets/images/splash-icon.png',
imageWidth: 200,
resizeMode: 'contain',
backgroundColor: '#ffffff'
}
],
'expo-secure-store'
],
experiments: {
typedRoutes: true
},
extra: {
GEMINI_API_KEY: process.env.GEMINI_API_KEY,
},
},
};