Recently ejected Bare Workflow app hangs at SplashScreen on Android

Hi everyone,

I’ve recently ejected a managed workflow project to bare and when running the app locally with yarn android and yarn start, the app hangs at the splash screen indefinitely. I don’t see any console.logs being called in App.js either, so I’m not sure what’s going on. I’ve also followed the docs for setting up react-native-unimodules and expo-splash-screen. Keep in mind I haven’t done any set up on the iOS side for this project, just for Android. I’m not sure if that has any influence on this bug :smile:

Here’s a minimum reproducible example (https://github.com/ekailly/managed-to-bare-splashscreen) where I created a blank managed workflow template with SDK 38 and ejected it to bare workflow by running expo eject. I added a custom splash screen and did some config for it in app.json.

expo diagnostics and npx react-native info, respectively:

Expo CLI 3.21.13 environment info:
    System:
      OS: Linux 5.4 Ubuntu 20.04 LTS (Focal Fossa)
      Shell: 5.0.16 - /bin/bash
    Binaries:
      Node: 10.17.0 - ~/.nvm/versions/node/v10.17.0/bin/node
      Yarn: 1.22.4 - /usr/bin/yarn
      npm: 6.11.3 - ~/.nvm/versions/node/v10.17.0/bin/npm
      Watchman: 4.9.0 - /home/linuxbrew/.linuxbrew/bin/watchman
    npmPackages:
      expo: ~38.0.8 => 38.0.8 
      react: ~16.11.0 => 16.11.0 
      react-dom: ~16.11.0 => 16.11.0 
      react-native: ~0.62.2 => 0.62.2 
      react-native-web: ~0.11.7 => 0.11.7 
    npmGlobalPackages:
      expo-cli: 3.21.13
info Fetching system and libraries information...
System:
    OS: Linux 5.4 Ubuntu 20.04 LTS (Focal Fossa)
    CPU: (12) x64 Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
    Memory: 560.00 MB / 15.55 GB
    Shell: 5.0.16 - /bin/bash
  Binaries:
    Node: 10.17.0 - ~/.nvm/versions/node/v10.17.0/bin/node
    Yarn: 1.22.4 - /usr/bin/yarn
    npm: 6.11.3 - ~/.nvm/versions/node/v10.17.0/bin/npm
    Watchman: 4.9.0 - /home/linuxbrew/.linuxbrew/bin/watchman
  SDKs:
    Android SDK:
      API Levels: 28, 29, 30
      Build Tools: 28.0.3, 30.0.0
      System Images: android-28 | Intel x86 Atom_64, android-29 | Intel x86 Atom_64, android-30 | Google APIs Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: Not Found
  Languages:
    Java: 1.8.0_252 - /usr/bin/javac
    Python: Not Found
  npmPackages:
    @react-native-community/cli: Not Found
    react: ~16.11.0 => 16.11.0 
    react-native: ~0.62.2 => 0.62.2 
  npmGlobalPackages:
    *react-native*: Not Found

I fixed it, I just decided to use Windows as my dev environment and ensured it followed React Native’s docs and I was good to go :sweat_smile: