Stuck at splashscreen (Android only)

Please provide the following:

  1. SDK Version: 42
  2. Platforms(Android/iOS/web/all): Android
  3. Add the appropriate “Tag” based on what Expo library you have a question on.

I am having trouble releasing my app on the Google Play Store. The app (both APK and ABB) never gets past the splashscreen when running on an Android device. This issue does not occur in production mode using an emulator or on iOS.

I have followed every troubleshooting guide I could find on forums to no avail: updating expo, clearing cache, reinstalling node modules…

Any help would be greatly appreciated.

My App.JS is as follows:

//Dependancies
import React, {  useCallback, useEffect, useState } from 'react';
import { StyleSheet, Text, View, LogBox, } from 'react-native';
import Navigator from './app/routes/homestack';
import firebase from './app/constants/firebaseConfig';
import * as SplashScreen from 'expo-splash-screen';

//Fix expo issue with firebase and timer warning
LogBox.ignoreLogs(['Setting a timer']);

export default function App() {

  //Close splashscreen when app loaded
  const onLayoutRootView = useCallback(async() => { await SplashScreen.hideAsync(); });
  
  return(
      //Render app through stack navigator
      <Navigator onLayout={onLayoutRootView}/>
  );
  
}

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