Browse Source

android splash fix

Viktoriia 9 hours ago
parent
commit
3ddb4a52fd
1 changed files with 7 additions and 2 deletions
  1. 7 2
      app.config.ts

+ 7 - 2
app.config.ts

@@ -21,7 +21,6 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
   ...config,
   name: 'NomadMania',
   slug: 'nomadmania-app',
-  newArchEnabled: true,
   owner: 'nomadmaniaou',
   scheme: 'nm',
   // Should be updated after every production release (deploy to AppStore/PlayMarket)
@@ -143,6 +142,12 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
       'MODIFY_AUDIO_SETTINGS',
       'READ_MEDIA_VIDEO'
     ],
+    splash: {
+      backgroundColor: '#ffffff',
+      imageWidth: 200,
+      image: './assets/icon-logo.png',
+      resizeMode: 'contain'
+    },
     versionCode: 100 // 2.0.42, last version sent to Google is 99 (2.0.41)
   },
   plugins: [
@@ -162,7 +167,7 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
         },
         android: {
           minSdkVersion: 24,
-          targetSdkVersion: 36,
+          targetSdkVersion: 36
           // kotlinVersion: '1.7.1'
         }
       }