I was using depcheck to uninstall unused modules from my project. I following three packages along with a few others that i installed during development. expo-status-bar expo-updates expo-splash-screen however after doing so, i encountered few errors during build, and thus i reinstalled these packages. but now I’m facing this error. I am sure that expo-application is installed Here is the
Tag: react-native
React native firebase crashes when using emulator
I’m struggling for a few days now on using firestore emulator in a react-native project Whenever the code reaches a firestore hit the application crash without any log (RN side). Now I know RNFirebase is well installed as I can hit firestore real server. I’ve checked the logcat and it gives me this error. Here is my packages.json And I
Cannot use yarn android after adding react navigation 6.x
So I’m using https://reactnavigation.org/docs/getting-started to make my navigation. I did the yarn add @react-navigation/native and yarn add react-native-screens react-native-safe-area-context. At this point my app is still fine even after restarting yarn start. The problem started after I add the code needed to MainActivity.java and from there the app won’t launch (it also won’t work even after wrapping it in NavigationContainer
Java Function Return to React-Native
I’m developing an application with an integration Smart-POS. My application is in React-Native and the card reading or printing options are created through Java functions. In other words, I’m calling a function in React-Native that is requesting a function in a Java file that communicates with the device and gives me a return. Problem: I’m not getting any return after
React Native Android Native Module Works Well on Debug but Doesn’t Work on Release
I’ve created an Android Native Module in my React Native App to get User Installed Apps List. it works well on Debug but doesn’t work on Release. *Note : I’ve also tried to use a npm package called …
The action ‘NAVIGATE’ with payload {“name”:“HomeScreen”,“params”:……”} was not handled by any navigator. Do you have a screen named ‘Home’?
The action ‘NAVIGATE’ with payload {“name”:”Home”,”params”:{“user”:{“id”:”VUUpROQPtKaXVef15e5XhxXNLrm1″,”email”:”anto22e@…
Google Nearby Messages API: Attempting to perform a high-power operation from a non-Activity Context
Calling subscribe on the Google Nearby Messages API for Android results in the Exception: Attempting to perform a high-power operation from a non-Activity Context My code: public void subscribe(…
Error: Unable to determine the current character, it is not a string, number, array, or object in react-native for android
Whenever I run react-native run-android while keeping the emulator running, I get this error. react-native run-ios wroks completely fine. Error: Command failed: ./gradlew app:installDebug -…
Error with react-native run-android after upgrade to react-native version 0.60.4
I am upgrading react-native from 0.59.5 to 0.60.4 with my existing application. But facing a problem as below And my build.gradle is I have absolutely no clue what this error is about and could not find much helpful articles. Please help me out. Answer Looks like Gradle is currently erroring on builds using openJDK-13. Here’s a Github issue thread. Check
React Native Android Splash Screen
I’m trying to build a splash screen for an Android RN app. I’ve followed the steps described here : https://www.bignerdranch.com/blog/splash-screens-the-right-way/ Unfortunately, when trying to launch my app, the build is successful but the app crashes saying: Does any one know where this could come from ? I have the following code : SplashScreen.java MainActivity.java AndroidManifest.xml Answer OK, well it works