app.config.ts 758 B

12345678910111213141516171819202122232425262728293031323334
  1. import 'dotenv/config';
  2. import type { ConfigContext, ExpoConfig } from 'expo/config';
  3. import { env } from 'process';
  4. export default ({ config }: ConfigContext): ExpoConfig => ({
  5. ...config,
  6. name: 'nomadmania-app',
  7. slug: 'nomadmania-app',
  8. version: '1.0.0',
  9. orientation: 'portrait',
  10. icon: './assets/icon.png',
  11. userInterfaceStyle: 'light',
  12. extra: {
  13. API_HOST: env.API_HOST
  14. },
  15. splash: {
  16. image: './assets/splash.png',
  17. resizeMode: 'contain',
  18. backgroundColor: '#ffffff'
  19. },
  20. assetBundlePatterns: ['**/*'],
  21. ios: {
  22. supportsTablet: true
  23. },
  24. android: {
  25. adaptiveIcon: {
  26. foregroundImage: './assets/adaptive-icon.png',
  27. backgroundColor: '#ffffff'
  28. }
  29. },
  30. web: {
  31. favicon: './assets/favicon.png'
  32. }
  33. });