Questions tagged [react-native-splash-screen]

16 questions
9
votes
3 answers

React-native-splash-screen statusbar color (incompatible types)

I'm trying to implement, react-native-splash-screen on my Android APP. Splash screen works great, but when I try to customize my status bar color (see docs), I have this error: "incompatible types: int cannot be converted to boolean" I follow the…
2
votes
1 answer

Not able to hide react native splashscreen shown before AWS Authenticator

I'm showing the react native splashscreen and trying to hide it in useEffect, but the useEffect doesn't get called if I'm using AWS Authenticator in App.js. It works fine when I don't use the authenticator. App.js import Amplify from…
1
vote
1 answer

How to fix White Screen after Splash Screen in React Native for iOS

For Android, I made the color of the white screen the same as the Splash Screen color. So how do I change the color of the white screen on iOS?
Blogger Klik
  • 160
  • 1
  • 2
  • 12
1
vote
0 answers

White screen shows after Splash Screen in React Native

in React Native, a white screen appears after the Splash Screen. The white screen is briefly displayed, and then the application screen opens. What is the reason for this? I want to solve this problem without using a package. How can I solve this…
Blogger Klik
  • 160
  • 1
  • 2
  • 12
1
vote
2 answers

MainActivityDelegate cannot be converted to Activity SplashScreen.show(this);

I'm having trouble with the react-native-splash-screen React-native info Node : 16.17.0 Yarn : 1.22.19 react : 18.1.0 react-native : 0.70.0 Error MainActivityDelegate cannot be converted to Activity…
Irene_MJ
  • 11
  • 1
1
vote
1 answer

How to add branding name and logo in android api level 12 and below api level using new android 12 behaviour changes in React Native?

I want to migrate existing splash screen with new Splash Screen api.Currently we are using android:windowBackground to display splashscreen.Attached sample image for example. https://i.stack.imgur.com/9i9zu.jpg ** Also check react-native-bootsplash…
waug
  • 11
  • 2
0
votes
0 answers

'RNSplashScreen.h' file not found

I recently purchased a new MacBook M2 Pro and cloned my React Native app onto it. However, I'm encountering an error stating that the 'RNSplashScreen.h' file cannot be found, even though I have not included the 'react-native-splash-screen' package…
0
votes
1 answer

i have a problem with react native splash screen

i'm having problems using react native splash screen. I follow the steps on the github repo but the problem stills. My problem occurs after installing and configuring React Native Splash Screen in my application. I followed all the steps correctly,…
0
votes
1 answer

SplashScreen.show(); not working in React Native iOS

I'm having issue with regards to react-native-splash-screen. When I triggered the SplashScreen.show(); in my Home Screen it doesn't work in iOS but in android it is working. RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self…
carch
  • 217
  • 4
  • 18
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

React Native app takes time for first launch

after using react-native-bootsplash library, my app takes time to launch for the first time, and also after submitting the releasing version on the play store, I'm getting Pre-Launch report as: Your app took 22,761ms to launch for the first time. I…
0
votes
0 answers

Is there a way to use BootSplash.storyboard as. splash screen in tvOs

I have been using launvhImage as general Splash screen for for tvOS app built using react native , recentlly i require to constrol when i want to hide the native spalsh screen of tvOS, I am using react-native-bootsplash to show splash screen but I…
0
votes
0 answers

How to use setText in Android with React Native Splash Screen

protected void onCreate(Bundle savedInstanceState) { SplashScreen.show(this); super.onCreate(savedInstanceState); setContentView(R.layout.launch_screen); TextView footer = findViewById(R.id.footerText); …
Jolly Good
  • 452
  • 7
  • 17
0
votes
0 answers

react native rotate imageView in splash screen

I made a splash screen with react-native-splash-screen and it works fine now want to rotate an image ( infinite rotation ) I tried this code .. but the app keeps crashing before opens is there any way to achieve this? res/anim/rotate.xml
0
votes
0 answers

How to remove white screen before Splash screen React Native?

I added a splash screen when booting the app using https://www.npmjs.com/package/react-native-splash-screen#examples. But before launching the splash screen, I can see a white screen. I can change that screen's colour using styles.xml but cannot…
1
2