Questions tagged [expo-splash-screen]

14 questions
8
votes
2 answers

TypeError: undefined is not an object (evaluating '_expoModulesCore.NativeModulesProxy.ExpoSplashScreen')

I am getting this issue in react native. The things were working fine until I decicded to rerun the project doing yarn install Here is complete error TypeError: undefined is not an object (evaluating…
Amit Sharma
  • 1,775
  • 3
  • 11
  • 20
4
votes
2 answers

How to use `expo-splash-screen` with `expo-google-fonts`?

The splash screen is using async operations to wait, while the fonts package is using a "custom hook" useFonts (I guess). How to make the splash screen wait for the google fonts to load?
Obay Abd-Algader
  • 1,079
  • 12
  • 25
4
votes
0 answers

Expo splash screen disappears before hideAsync()

Im developing my first React Native app with Expo and are having some troubles with the splash screen. In my app.json I have set the following under expo: { "expo": { "name": "my-iOS-Android-app", "slug": "my-iOS-Android-app", …
linus
  • 41
  • 1
  • 4
2
votes
0 answers

Font.loadAsync with expo SplashScreen won't work in react native

I updated to expo SDK 45. I used to load open-sans like so: const fetchFonts = () => { return Font.loadAsync({ "open-sans": require("./assets/fonts/OpenSans-Regular.ttf"), "open-sans-bold": require("./assets/fonts/OpenSans-Bold.ttf"), …
Twos22
  • 57
  • 1
  • 11
1
vote
0 answers

How To use lottie file as Root Splash screen in Expo?

I want to replace the default root splash screen of my expo app with a lottie file . I have used react-native-lottie-splash-screen and followed all the instructions but the lottie is not showing. here is my launch_screen.xml
1
vote
0 answers

Trouble implementing splash animation into Expo app

I want to have an animation as my splash screen in my React Native expo app. I'm using the expo-splash-screen library to try to implement this, but all I'm getting when I launch my app is a blank white screen instead of the animation. Any ideas…
Josh Simon
  • 159
  • 1
  • 10
  • 27
1
vote
1 answer

How to fix expo-app-loading is deprecated and replace it with expo-splash-screen

After updating expo I keep getting this error that says: expo-app-loading is deprecated in favor of expo-splash-screen: use SplashScreen.preventAutoHideAsync() and SplashScreen.hideAsync() instead. Here's the my code in App.js import React, {…
delle
  • 213
  • 3
  • 15
0
votes
0 answers

React native expo app crashing after splash screen even it's perfectly on expo go development mode

I've wasted my 2 days in this problem, Actually I created an expo app and it's running completely fine in expo go app but when I make build (apk) using the command npx eas build -p android --profile preview and install in my phone. It opens but…
0
votes
1 answer

how to add json animation file to app.json in react native expo

since expo doesn't support gif images as splashscreen, i am trying to use gif as json a file. Is it possible to use json file in app.json. If yes, how? Any help would be appreciated.
user9716988
0
votes
0 answers

Splash screen rendering nothing instead of animation

I'm building a React Native application in expo, and am trying to use a gif file for a splash animation. I've configured my code as follows using expo-splash-screen, however nothing is rendered when I try to load the app. Any suggestions? Here's the…
Josh Simon
  • 159
  • 1
  • 10
  • 27
0
votes
2 answers

How to hide splash screen in react native build using expo

My app is not loading after splash screen. It just stuck there. So I added expo-splash-screen and still is not passing the splash screen. Before adding splash screen everything was working fine :( See this is my App.js code. As you can see it only…
0
votes
1 answer

Fix the upstream dependency conflict, React Native Expo

I have a React Native Expo application, and I am trying to install expo-splash-screen with running npx expo install expo-splash-screen As a result I get the following error message: npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm…
0
votes
0 answers

Context API dispatch not called with onEffect while using expo-splash-screen

When I am trying to use the dispatch function recieved with the useContext hook I cannot get the change the content of the data inside the context. It looks like as if the call wasn't even made, when I try to log something inside the conext's…
0
votes
0 answers

Expo, how to update splash screen app.json

I am trying to change my default Splash screen in my Expo app with a new one. I am using EAS profile development. this is my app.json { "expo": { "name": "blue-kiwi", "slug": "blue-kiwi", "version": "1.0.1", "orientation":…
Bassel Turky
  • 371
  • 7
  • 15