Comments (3)
on your 'res' folder, create a 'drawable' folder. put your splash screen png file there and name it 'launch_screen.png'
from react-native-splash-screen.
//remove
<ImageView android:layout_width="match_parent" android:layout_height="match_parent" android:src="@drawable/launch_screen" android:scaleType="centerCrop" />
//add
<ImageView android:layout_width="match_parent" android:layout_height="match_parent" android:src="@mipmap/launch_screen" android:scaleType="centerCrop" />
```
from react-native-splash-screen.
thank tishad770. you've saved my life
from react-native-splash-screen.
Related Issues (20)
- React Navigation deep linking - async getInitialURL(). Method [RNSplashScreen show]; breaks deep linking flow.
- android 连续调用两次show 方法闪屏页就无法隐藏。原因是原生dialog调用show方法时每次都会新创建一个dialog HOT 1
- Problem with inputs render HOT 11
- Support new React Native new architecture (TurboModules/Fabric) HOT 4
- AndroidX migration
- App runs but does not show splash screen. Calling hide() gives error: Cannot read property 'hide' of null HOT 6
- android app crash after splash screen. HOT 3
- Is there any way to show Splash screen for 2 seconds only ? HOT 3
- After splash screen appears the following error comes, why? HOT 13
- Android app is being crashed once I add SplashScreen.show(this, R.style.SplashScreenTheme, true); in my MainActivity.jsvs HOT 4
- React Native 0.73 Integration HOT 30
- Is this Library still Active?? If not, can you cancel this. HOT 6
- Splash screen crash on android 8.0 HOT 9
- React Native 0.73 Integration in Xcode HOT 8
- React native now use kotlin not java HOT 10
- this setup is for java now the android file is converted to kotlin, can anyone share the setup for kotlin HOT 9
- React Native 0.73.4 issue on iOS - AppState is changing HOT 2
- iOS error during compilation with debug scheme
- Could you add the way to make fullscreen on Android?
- Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl. Namespace not specified.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-splash-screen.