Skip to content

Tag: react-native

How to handle multiple FlatLists in React Native

These red marks areas are 3 FlatLists. The first and Second are horizontally scrolling FlatLists while the last FlatList is scrolling vertically.My problem arise when scrolling the last FlatList. It not going to the bottom it stays in the same position but scrolls (Like it has a fixed height). How to get rid of such thing. I’m trying a way

How to add in react-native script in python?

Also i have got a new project, where nedded make a voice recognition (speech-to-text) , but i have’t find a worked library in react-native. How can i connect scripts in python to react native project? I only find how to make autorizathion in python, but by me it was maked in JS Answer If your python app is going to

ReferenceError Can’t find variable: Image – React Native, create-expo-app. Can’t create an HTMLImageElement with Image()

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

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

Unable to resolve module [external url] within the project or in these directories: node_modules

Im doing a project in react native I have an object of exercises that include images and videos, everything is fine when the object was created, but when I imported into another file I get this error undefined Unable to resolve module from /mnt/c/Users/USER/Documents/superfit/app/src/screens/Patient/Workouts/ExercisesList.ts: could not be found within the project or in these directories: node_modules This is