The Error I’m early in learning to use React-Native, working with create-expo-app. When I run npm start, I run into an error giving this output: ERROR ReferenceError: Can’t find variable: Image I expect that the second two errors are caused by the first error. ERROR Invariant Violation: Failed to call into JavaScript module method AppRegistry.runApplication(). Module has not been registered
Tag: expo
Error: Call to function ‘ExponentImagePicker.launchCameraAsync’ has been rejected
I’m trying to to make the user take a photo with “expo-image-picker” module using the “launchCameraAsync” function, and at first everything worked out fine, but now when trying to make the user take a photo, expo throws an warning and does not activate the camera, the warning is: Possible Unhandled Promise Rejection (id: 0): Error: Call to function ‘ExponentImagePicker.launchCameraAsync’ has
The action ‘NAVIGATE’ with payload {…} was not handled by any navigator
So I’m building an app where i send notification to the user when there’s an update. Once the user receives it, on clicking, I want to navigate to a specific screen in my app. The problem is, to do that I have to use a navigation reference to be able to access the navigation object. I did read the doc,
How to render 200+ view without performance issue in react-native
I am trying to make a game in react-native. I want to render 200+ views on the Game screen. Each View has a pressable functionality. Whenever I press the View I need to run a function that will change the View background color and update score on the game context. But Whenever I try to press any View it took
Nested Navigation in React Native not compiling
I’m new to nested navigation. I have tried to follow the principles here – however I am getting the error Couldn’t find a navigation object. Is your component inside NavigationContainer? I have brought the ‘Screens’ into the main App.js for ease of debugging and sharing code. Below is my code. I am trying to have a home screen with a
fetching and passing params in react navigation
On Press of a button I need to pass params to another screen where value of that button is fetched, code below; screen:1 screen:2 But during the fetching I get the following error I have tried using timeout but that is not working, is there a better option. Answer The issue is that fetch is a native function in javascript
React Native, why secureTextEntry not working?
Why is my secureTextEntry not working ? Here is my code: Answer secureTextEntry does not work with multiline. Here is what React Native’s documentation says: secureTextEntry If true, the text input obscures the text entered so that sensitive text like passwords stay secure. The default value is false. Does not work with multiline={true}. In order to have it working, remove
How to check current password when reset password in firebase and Expo? [closed]
Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 11 months ago. Improve this question I’m adding password reset function using react native expo and firebase api. First input is current password. Second input is
FlatList conditional rendering if {user === owner || gues}
In my Applikation I render a Expo FlatList to show created Events. If the user has created or joined this event, he should be able to see the images. If not, they should be hidden. I would now store the creator and the guests in the database and would have to compare this with the currentUser from the Firebase Auth
Expo Camera Photo Upload To Firebase Storage is undefined – React Native
I am using import { Camera } from ‘expo-camera’; to take pictures. The taken picture is stored in the devicecache. so far so good. Now I am trying to upload this taken images to Google Firebase Storage using import { getStorage, ref, uploadBytes } from “firebase/storage”; The return of doing a photo is: Now I try to upload this like