Custom Dev Client Silent Crash on Android in Dev and Prod.

Hi, I tried opening my App with after eas build, it works perfectly on iOS, but on android, I get a blank white screen without any error or logs. I don’t know where to start debugging from because I can’t find what the problem is.

My app.config.js is:

const IS_DEV = process.env.APP_VARIANT === "development";

export default {
  name: IS_DEV ? "App (DEV)" : "App",
  slug: "myslug",
  version: "0.1.9",
  scheme: IS_DEV ? "testing" : "myscheme",
  orientation: "portrait",
  owner: "me",
  facebookAppId: "...",
  facebookDisplayName: "...",
  facebookScheme: "...",
  userInterfaceStyle: "automatic",
  icon: "./assets/icon.png",
  splash: {
    image: "./assets/splash.png",
    resizeMode: "contain",
    backgroundColor: "#fff",
  },
  assetBundlePatterns: ["**/*"],
  ios: {
    bundleIdentifier: IS_DEV ? "com.abc" : "com.abc.xyz",
    buildNumber: "1.9",
    supportsTablet: false,
    usesIcloudStorage: true,
    usesAppleSignIn: true,
    config: {
      googleSignIn: {
        reservedClientId:
          "com.googleusercontent.apps.MYID,
      },
    },
    googleServicesFile: "./GoogleService-Info.plist",
    associatedDomains: [
      "applinks:mydomain.com",
      "applinks:app.mydomain.com",
      "applinks:join.mydomain.com",
    ],
  },
  android: {
    package: "com.abc.xyz",
    versionCode: 19,
    googleServicesFile: "./google-services.json",
    adaptiveIcon: {
      foregroundImage: "./assets/adaptive-icon.png",
      backgroundColor: "#FFFFFF",
    },
  },
  web: {
    favicon: "./assets/favicon.png",
  },
  description: "",
};

And my package.json deps are:

{
   "@react-native-async-storage/async-storage": "1.15.0",
    "@react-native-community/datetimepicker": "4.0.0",
    "@react-native-menu/menu": "0.5.2",
    "@react-native-seoul/masonry-list": "1.1.4",
    "@react-navigation/bottom-tabs": "6.0.9",
    "@react-navigation/native": "6.0.6",
    "@react-navigation/native-stack": "6.2.5",
    "@unimodules/core": "7.2.0",
    "axios": "0.24.0",
    "buffer": "6.0.3",
    "depcheck": "1.4.2",
    "expo": "44.0.0",
    "expo-app-loading": "1.3.0",
    "expo-apple-authentication": "4.1.0",
    "expo-application": "4.0.1",
    "expo-auth-session": "3.5.0",
    "expo-barcode-scanner": "11.2.0",
    "expo-blur": "11.0.0",
    "expo-clipboard": "2.1.0",
    "expo-dev-client": "0.8.4",
    "expo-device": "4.1.0",
    "expo-document-picker": "10.1.3",
    "expo-facebook": "12.1.0",
    "expo-file-system": "13.1.4",
    "expo-haptics": "11.1.0",
    "expo-image-picker": "12.0.1",
    "expo-intent-launcher": "10.1.0",
    "expo-linking": "3.0.0",
    "expo-mail-composer": "11.1.0",
    "expo-notifications": "0.14.0",
    "expo-permissions": "13.1.0",
    "expo-random": "12.1.1",
    "expo-secure-store": "11.1.0",
    "expo-splash-screen": "0.14.1",
    "expo-status-bar": "1.2.0",
    "expo-system-ui": "1.1.0",
    "expo-web-browser": "10.1.0",
    "jwt-decode": "3.1.2",
    "link-preview-js": "2.1.8",
    "lodash": "4.17.21",
    "mime": "3.0.0",
    "moment": "2.29.1",
    "prop-types": "15.8.0",
    "qs": "6.10.2",
    "react": "17.0.1",
    "react-dom": "17.0.1",
    "react-is": "17.0.2",
    "react-native": "0.64.3",
    "react-native-context-menu-view": "1.2.1",
    "react-native-gesture-handler": "2.1.0",
    "react-native-modal": "13.0.0",
    "react-native-modalfy": "2.1.2",
    "react-native-modalize": "2.0.13",
    "react-native-portalize": "1.0.7",
    "react-native-progress": "5.0.0",
    "react-native-qrcode-svg": "6.1.2",
    "react-native-reanimated": "2.3.1",
    "react-native-safe-area-context": "3.3.2",
    "react-native-screens": "3.10.1",
    "react-native-sticky-parallax-header": "0.4.1",
    "react-native-styled-toast": "1.3.1",
    "react-native-super-grid": "4.1.3",
    "react-native-svg": "12.1.1",
    "react-native-swipe-list-view": "3.2.9",
    "react-native-swipeable": "0.6.0",
    "react-native-toast-notifications": "3.2.3",
    "react-native-web": "0.17.1",
    "react-native-webview": "11.15.0",
    "rn-placeholder": "3.0.3",
    "styled-components": "5.3.3",
    "styled-system": "5.1.5",
    "swr": "1.2.1",
    "valid-url": "1.0.9",
    "valtio": "1.2.7"
}

thanks.

Fixed by reducing the splash and icon sizes.

2 Likes

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