Comments (4)
@albert-carreras
I had the problem too, but the solution is on the readme x).
In your manifest, you probably forgot to remove the default <intent-filter>
lines from your original activity (.MainActivity)
Keep only the <intent-filter>
of the 2nd activity ('com.zoontek.rnbootsplash.RNBootSplashActivity') :
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
So your manifest should be like something like that:
<application
android:name=".MainApplication"
...
>
<activity
android:name=".MainActivity"
android:exported="true"
...
>
</activity>
<activity
android:name="com.zoontek.rnbootsplash.RNBootSplashActivity"
android:theme="@style/BootTheme">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!-- … -->
</application>
from react-native-bootsplash.
emmmmmmmmmmm, This is my problem,sorry
please close this .
from react-native-bootsplash.
Can you explain what was wrong... Instead of just closing this? I'm facing the same issue
from react-native-bootsplash.
Thank you for the heads up. Fixed it for me as well. It seemed to only happen when I used the --logo-width=500
from the command line for some reason.
from react-native-bootsplash.
Related Issues (20)
- Generate splashscreen HOT 1
- iOS: building failed with RN 0.73 and new arch enabled HOT 3
- RN 0.74 - How to avoid `createRootViewWithBridge` HOT 1
- Small icon size on Samsung devices with Android 12 HOT 3
- Expo config plugin overrides AppDelegate imports from other plugins HOT 8
- circle in the center at the beginning of the splash screen display (android) HOT 1
- iOS crashes with react native 0.74 without new arch HOT 2
- Android app does not launch automatically in debug mode HOT 2
- No visible @interface for 'RNNAppDelegate' declares the selector 'createRootViewWithBridge:moduleName:initProps:' HOT 10
- [Expo - iOS] react-native 0.74.3 breaks the splash screen HOT 9
- RNBootSplashSpec.h:15:2 This file must be compiled as Obj-C++. If you are importing it, you must change your file extension to .mm. HOT 10
- IOS ignores fade: true HOT 2
- White Blink with React Native 0.73.8 HOT 7
- App Development build fails on EAS HOT 12
- Ability to specify whether the project is bare or expo HOT 1
- After upgrading to v6, images aren't updating in native folders HOT 5
- NullPointerException Error: RNBootSplashDialog.dismiss(java.lang.Runnable) HOT 7
- useHideAnimation dosent start animation on release, but works on debug mode HOT 12
- App crashing at startup HOT 1
- Expo Bare Workflow - Android Splash is hiding immediatley HOT 5
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-bootsplash.