Expo bare: trying to find null `Constants.manifest.name` error

Please provide the following:

  1. SDK Version: 34
  2. Platforms(Android/iOS/web/all): IOS + Android

We recently ejected to the bare workflow, and we’ve been consistently getting the sentry error
null is not an object (evaluating 'c.default.manifest.name')

We don’t have any reference of the manifest.name anywhere in our codebase, and our app.json is also not present since we’ve ejected. We use expo constants just to determine the statusBarHeight and nothing else.

App runs fine on local and prod, we would just like to understand which expo library is trying to call this from and ideally fix it.

Our list of expo related dependencies:
17

1 Like

I’m having a similar problem. I have an app with SDK version 36 freshly ejected in the bare workflow.

expo diagnostics:

  Expo CLI 3.11.1 environment info:
    System:
      OS: macOS 10.14.6
      Shell: 3.2.57 - /bin/bash
    Binaries:
      Node: 10.16.0 - /usr/local/bin/node
      npm: 6.13.2 - /usr/local/bin/npm
    IDEs:
      Android Studio: 3.5 AI-191.8026.42.35.6010548
      Xcode: 11.2.1/11B500 - /usr/bin/xcodebuild
    npmPackages:
      expo: ^36.0.0 => 36.0.0 
      react: ~16.9.0 => 16.9.0 
      react-native: ~0.61.4 => 0.61.4 
      react-navigation: ^3.11.1 => 3.13.0 
    npmGlobalPackages:
      expo-cli: 3.11.1

package.json:

    "expo": "^36.0.0",
    "expo-constants": "^8.0.0",
    "expo-font": "~8.0.0",
    "expo-image-manipulator": "~8.0.0",
    "expo-image-picker": "~8.0.0",
    "expo-linear-gradient": "~8.0.0",
    "expo-location": "~8.0.0",
    "expo-permissions": "~8.0.0",
    "expo-web-browser": "~8.0.0",

Same problem with SDK37, ejected app as bare workflow

Expo CLI 3.18.2 environment info:
    System:
      OS: macOS Mojave 10.14.6
      Shell: 5.3 - /bin/zsh
    Binaries:
      Node: 12.13.1 - /usr/local/bin/node
      Yarn: 1.22.4 - /usr/local/bin/yarn
      npm: 3.10.10 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    IDEs:
      Android Studio: 3.4 AI-183.6156.11.34.5692245
      Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild
    npmGlobalPackages:
      expo-cli: 3.18.2

This is described here : Bare workflow: Constants.manifest is null in standalone version of app? · Issue #7721 · expo/expo · GitHub