I was using react-native-splash-screen it worked fine but after adding react-native-firebase/messaging I found issues with it and found I should be using react-native-bootsplash. I installed it and one of the steps included changing the compileSdkVersion and targetSdkVersion to 31. I recompiled my code and it somehow broke firebase messaging. I am confused about what to use and how to actually use it without breaking anything in the process. Any help will be really appreciated.
How to use `react-native-splash-screen` or `react-native-bootsplash` with `react-native-firebase/messaging`?
948 Views Asked by TheWhiteFang At
1
There are 1 best solutions below
Related Questions in REACT-NATIVE
- React Native: detect if UIVisualEffectView is supported
- Prevent Chrome debugger from stealing focus in React Native
- React-native upload image to amazons s3
- react-native update NavigatorIOS component's props
- promise – can't find variable process
- Using React Native within existing iOS app for some views only
- What is a good approach to building and distributing a React Native iOS component that extends iOS functionality?
- error in xcode 6 "is not registered as a URL scheme. Please add it in your Info.plist"
- DeviceEventEmitter stops emitting events to application when screen locked
- How to rename react-native entry file (index.ios.js)
- react-native component lifecycle methods not firing on navigation
- How to use comments in React
- react-native propagate changes in props through ListView and Navigator
- How do i use the iOS shake gesture with react native?
- TouchableHighlight won't accept press events while keyboard is open
Related Questions in REACT-NATIVE-FIREBASE
- Module '"@react-native-firebase/firestore"' has no exported member 'CollectionReference'. ts(2614)
- Push notifications stopped showing on iOS with RN Firebase 6.7.1
- Executing actions when notification is received with background/killed state app?
- react native inline vs end of file - export default - while using firebase
- get lat and long from all firebase documents
- How to use Firebase Firestore's `docChanges` method?
- react-native app crashes with react-native-firebase cloud notification
- How to trigger "onNotification" function on received notification?
- No Firebase App '[Default]' Has Been Created Call Initialize
- React Native: which firebase storage npm package to use?
- Emulator is showing error {firebase.App() not found} while using firebase authentication with React Native using expo-cli
- React Native Google Sign-In (@react-native-community/google-signin). error.code === statusCodes.IN_PROGRESS
- React Native: Rendering an Image component with uri provided through state variable
- Unable to fetch title and message from push notification when app is in BACKGROUND
- Can You Use Firebase Analytics With Expo React Native Web App?
Related Questions in REACT-NATIVE-SPLASH-SCREEN
- Logo screen that appears before SplashScreen is activated in the react-native-splash-screen library
- React Native app takes time for first launch
- Not able to hide react native splashscreen shown before AWS Authenticator
- SplashScreen.show(); not working in React Native iOS
- i have a problem with react native splash screen
- 'RNSplashScreen.h' file not found
- How to use `react-native-splash-screen` or `react-native-bootsplash` with `react-native-firebase/messaging`?
- React-native-splash-screen statusbar color (incompatible types)
- White screen shows after Splash Screen in React Native
- How to fix White Screen after Splash Screen in React Native for iOS
- how to add json animation file to app.json in react native expo
- 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?
- How to remove white screen before Splash screen React Native?
- kotlin compiles my code with errors. seems like i'm not doing something right
- react-native-splash-screen with lottie
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I had faced similar issues - react-native-splash-screen is not well-maintained and I'd not recommend using it. I use react-native-bootsplash instead, it is also easier to set up and is being actively maintained. I don't have any experience with the latest versions (>=4.x) but 3.2.x worked just fine.
Edit: I can now report, that v4.0.1 works well for ios. However, there are still some problems with some android phones:
Since this library uses the latest Android12-SplashScreen-API, not all android phones support it. Xaomi's Android versions for example don't support it yet, which means that the splash screen is not displayed correctly. Other than that, there aren't any problems.
Keep in mind, that v4.x.x will require sdk-level 31 (Android12), which means, that you might have to upgrade/patch some of your other 3rd party packages to make them compatible.