Splash screen not showing in Android

Please provide the following:

  1. SDK Version: 39.0.2
  2. Platforms: Android

Hi everybody, i’m reaching you cause i have read all the expo documentation about splash screen and i can’t get it to work on android (Works perfect in iOS, both, client and standalone), don’t know why.

So, this is the config i have in app.json: (I changed some values)

{
  "expo": {
    "name": "myApp",
    "slug": "myslug",
    "scheme": "myschme",
    "version": "1.0.0",
    "orientation": "portrait",
    "icon": "./assets/icon.png",
    "splash": {
      "image": "./assets/splash.png",
      "resizeMode": "contain",
      "backgroundColor": "#ffffff"
    },
    "updates": {
      "fallbackToCacheTimeout": 0
    },
    "assetBundlePatterns": ["**/*"],
    "ios": {
      "supportsTablet": true,
      "bundleIdentifier": "packagename",
      "buildNumber": "1.0.0",
      "googleServicesFile": "./GoogleService-Info.plist",
      "config": {
        "googleSignIn": {
          "reservedClientId": "string"
        },
        "googleMapsApiKey": "mykey"
      }
    },
    "android": {
      "package": "packagename",
      "versionCode": 1,
      "googleServicesFile": "./google-services.json",
      "config": {
        "googleMaps": {
          "apiKey": "mykey"
        }
      },
      "adaptiveIcon": {
        "foregroundImage": "./assets/icon.png",
        "backgroundColor": "#FFFFFF"
      },
      "useNextNotificationsApi": true
    },
    "notification": {
      "icon": "./assets/notification_icon.png",
      "color": "#FF1E56",
      "iosDisplayInForeground": true,
      "androidMode": "collapse",
      "androidCollapsedTitle": "myApp"
    },
    "hooks": {
      "postPublish": [
        {
          "file": "sentry-expo/upload-sourcemaps",
          "config": {
            "organization": "org",
            "project": "project",
            "authToken": "mytoken"
          }
        }
      ]
    },
    "facebookScheme": "fbMyAppId",
    "facebookAppId": "myAppId",
    "facebookDisplayName": "MyAppName"
  }
}

So as i said, works fine in iOS but not in android. What could be happening?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.