Expo Managed app works locally with expo start --dev-server, but crashes onInit once deployed in Testflight with EAS

SDK Version: 46.0.9
Platforms(Android/iOS/web/all): iOS

Hi Expo team & community! We’ve been experiencing issues with the application crashing after pushing our latest updates to our application in Testflight, and we were wondering if anyone has any suggestions on how to resolve/debug this issue.

Our app has been working fine, but this new issue had came up when we had upgraded our Expo SDK to 46. The odd thing is that everything works fine when running locally. In Testflight, our app is immediately crashing without error. Let me know if anyone has ran into this before, or if anyone has any suggestions.

Here’s some of my files below:
package.json

{
  "scripts": {
    "start": "expo start --dev-client",
    "android": "expo run:android",
    "ios": "expo run:ios",
    "web": "expo start --web",
    "eject": "expo eject",
    "debug": "open 'rndebugger://set-debugger-loc?host=localhost&port=19001' && expo start"
  },
  "dependencies": {
    "@gorhom/bottom-sheet": "^4",
    "@react-native-async-storage/async-storage": "~1.17.3",
    "@react-native-community/blur": "^3.6.0",
    "@react-native-community/datetimepicker": "6.2.0",
    "@react-native-community/masked-view": "0.1.10",
    "@react-navigation/bottom-tabs": "5.10.0",
    "@react-navigation/native": "6.0.1",
    "@react-navigation/stack": "5.10.0",
    "aws-sdk": "^2.681.0",
    "axios": "^0.19.2",
    "base-64": "^0.1.0",
    "cors": "^2.8.5",
    "expo": "~46.0.9",
    "expo-blur": "~11.2.0",
    "expo-camera": "~12.3.0",
    "expo-constants": "~13.2.4",
    "expo-dev-client": "^1.2.1",
    "expo-image-manipulator": "~10.4.0",
    "expo-image-picker": "~13.3.1",
    "expo-images-picker": "^2.3.0",
    "expo-intent-launcher": "~10.3.0",
    "expo-jwt": "^1.3.0",
    "expo-linear-gradient": "~11.4.0",
    "expo-location": "~14.3.0",
    "expo-media-library": "~14.2.0",
    "expo-notifications": "~0.16.1",
    "expo-splash-screen": "~0.16.2",
    "expo-status-bar": "~1.4.0",
    "firebase": "8.2.3",
    "firebase-admin": "^9.1.1",
    "firebase-functions": "^3.11.0",
    "fuse.js": "^6.4.6",
    "jwt-decode": "^2.2.0",
    "moment": "^2.26.0",
    "nodemailer": "^6.4.11",
    "react": "18.0.0",
    "react-dom": "18.0.0",
    "react-native": "0.69.5",
    "react-native-auto-height-image": "^3.2.4",
    "react-native-aws3": "0.0.9",
    "react-native-datepicker": "^1.7.2",
    "react-native-gesture-handler": "~2.5.0",
    "react-native-image-zoom-viewer": "^3.0.1",
    "react-native-keyboard-listener": "^1.1.0",
    "react-native-maps": "0.31.1",
    "react-native-purchases": "^5.0.2",
    "react-native-safe-area-context": "4.3.1",
    "react-native-screens": "~3.15.0",
    "react-native-snap-carousel": "^3.9.0",
    "react-native-web": "~0.18.7",
    "react-redux": "^7.2.0",
    "react-swipeable-views-native": "^0.13.2",
    "redux": "^4.0.5",
    "redux-immutable-state-invariant": "^2.1.0",
    "redux-thunk": "^2.3.0",
    "socket.io": "^2.3.0",
    "socket.io-client": "^2.3.0"
  },
  "devDependencies": {
    "@babel/core": "^7.18.6",
    "@babel/plugin-transform-typescript": "^7.14.6",
    "babel-preset-expo": "~9.2.0"
  },
  "private": false,
  "name": "fishing-app",
  "version": "1.0.0"
}

app.json

{
  "expo": {
    "userInterfaceStyle": "light",
    "name": "HFC",
    "slug": "fishing-app",
    "privacy": "public",
    "platforms": [
      "ios",
      "android",
      "web"
    ],
    "version": "1.3.026",
    "orientation": "portrait",
    "icon": "./public/icons/hfc-icon.png",
    "splash": {
      "image": "./public/mdpi-splash.png",
      "resizeMode": "cover",
      "backgroundColor": "#ffffff"
    },
    "updates": {
      "fallbackToCacheTimeout": 0
    },
    "assetBundlePatterns": [
      "**/*"
    ],
    "ios": {
      "supportsTablet": true,
      "bundleIdentifier": "com.hfc.huntingandfishingclub",
      "buildNumber": "1.3.026",
      "googleServicesFile": "./GoogleService-Info.plist",
      "icon": "./public/icons/hfc-icon.png",
      "infoPlist": {
        "NSCameraUsageDescription": "This allows us to use the camera to allow you to post your memories and photos to pins.",
        "NSLocationWhenInUseUsageDescription": "This allows us to use your location to provide you certain features like displaying the nearest fishing and hunting locations and showing your location on the map for your reference.",
        "NSPhotoLibraryUsageDescription": "This allows us to use the photo gallery to allow you to post your memories and photos to pins.",
        "UIUserInterfaceStyle": "Light"
      },
      "config": {
        "googleSignIn": {
          "reservedClientId": "{{credentials}}"
        }
      }
    },
    "android": {
      "package": "com.hfc.huntingandfishingclub",
      "permissions": [
        "CAMERA",
        "RECORD_AUDIO",
        "READ_PHONE_STATE",
        "WRITE_EXTERNAL_STORAGE",
        "READ_CONTACTS",
        "LOCATION",
        "ACCESS_COARSE_LOCATION",
        "ACCESS_FINE_LOCATION"
      ],
      "versionCode": 197,
      "icon": "./public/icons/hfc-icon.png",
      "googleServicesFile": "./google-services.json",
      "config": {
        "googleSignIn": {
          "apiKey": "{{credentials}}"
        },
        "googleMaps": {
          "apiKey": "{{credentials}}"
        }
      }
    },
    "extra": {
      "eas": {
        "projectId": "{{credentials}}"
      }
    }
  }
}

eas.json

{
  "build": {
    "base": {
      "ios": {
        "image": "latest"
      }
    },
    "release": {
      "distribution": "store",
      "cache": {
        "disabled": true
      }
    },
    "development": {
      "developmentClient": true,
      "distribution": "internal"
    },
    "production": {
      "android": {
        "image" : "latest"
      },
      "env": {
        "ANDROID_SDK_ROOT": "/Users/keith/Library/Android/sdk"
      }
    }
  },
  "submit": {
    "production": {
      "ios": {
        "appleId": "{{ credentials }}",
        "ascAppId": "{{ credentials }}",
        "appleTeamId": "{{ credentials }}"
      }
    }
  }
}

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