|
@@ -3,7 +3,6 @@ import path from 'path';
|
|
|
import dotenv from 'dotenv';
|
|
|
|
|
|
import type { ConfigContext, ExpoConfig } from 'expo/config';
|
|
|
-import { Platform } from 'react-native';
|
|
|
|
|
|
const env = process.env;
|
|
|
|
|
@@ -49,16 +48,10 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
|
|
|
resizeMode: 'cover',
|
|
|
backgroundColor: '#ffffff'
|
|
|
},
|
|
|
- notification: Platform.select({
|
|
|
- ios: {
|
|
|
- icon: './assets/notification-icon.png',
|
|
|
- color: '#FFFFFF'
|
|
|
- },
|
|
|
- android: {
|
|
|
- icon: './assets/notification-android-icon.png',
|
|
|
- color: '#FFFFFF'
|
|
|
- }
|
|
|
- }),
|
|
|
+ notification: {
|
|
|
+ icon: './assets/notification-android-icon.png',
|
|
|
+ color: '#FFFFFF'
|
|
|
+ },
|
|
|
updates: {
|
|
|
url: 'https://u.expo.dev/c31c6828-3c32-4c7a-aabc-f9b8336b3b66'
|
|
|
},
|
|
@@ -159,6 +152,6 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
|
|
|
{
|
|
|
microphonePermission: 'Allow Nomadmania to access your microphone.'
|
|
|
}
|
|
|
- ],
|
|
|
+ ]
|
|
|
]
|
|
|
});
|