Category "react-native"

`new NativeEventEmitter()` requires a non-null argument

I am facing this problem: new NativeEventEmitter() requires a non-null argument I am working on Expo GO (version Expo: 45.0.0) on IOS. The problem is when I i

`new NativeEventEmitter()` requires a non-null argument

I am facing this problem: new NativeEventEmitter() requires a non-null argument I am working on Expo GO (version Expo: 45.0.0) on IOS. The problem is when I i

Gradle sync failed in Android Studio processRequest = (req, res, next) => {

I just come across this issue in a newly created react native project. I'm using node 14.17.0 via nvm. And running yarn start worked just fine from the Mac term

Why Navigation.goBack() not working properly?

I am using following way to create navigation system StackNavigator -> DrawerNavigator -> (Screen A, Screen B, Screen C) Screen A is initial Route Scre

Animate component unmount fade-out in React Native

On a React Native application, given a condition is true I should render ComponentA, else ComponentB should be visible instead. const ParentComponent = () =>

sending props to @react-navigation/drawer component

I am trying to send prop to component inside Drawer.Screen. I am using @react-navigation/drawer. I finally send props to navigation container but I cant send pr

ScrollView programmatically scroll on button press in react native

So I manually created an onboarding screen in React Native using ScrollView and also I added a button labeled next to enable the hidden screen to move in on the

TypeError: navigation.toggleDrawer is not a function. (In 'navigation.toggleDrawer()', 'navigation.toggleDrawer' is undefined) this error occured

TypeError: navigation.toggleDrawer is not a function. (In 'navigation.toggleDrawer()', 'navigation.toggleDrawer' is undefined) I've called this function as chil

Drawer Navigaiton React Native

ERROR Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of the error is that the applicati

How can i remove extra white space in expo BarCodeScanner

iOS is working fine BarCodeScanner take full screen but when i use android there is extra white space. <BarCodeScanner onBarCodeScanned={scanned ? undefin

TypeError: null is not an object (evaluating 'NativeClipboard_1.default.getString')

I want to use @twotalltotems/react-native-otp-input in my expo project. I have go through with the documentation of @twotalltotems/react-native-otp-input But I'

Video can't press play on React

I have a working product that takes a file from API and read as a blob. But pressing the play button on the video does not work. I have tried using tried using

why does this log the old value and not the new value [duplicate]

const [title,setTitle] = useState(""); const titleHandler=e => { setTitle(e.target.value) console.log(title) } Why does this code log

React Native: FlatList is not showing

I am trying to make a custom component that will display options for a new choice if the first choice is not clear enough. I am using the FlatList component to

Reactnative asyncstorage for a specific user is not working properly

I am trying to save the passing screen after a user that is logged in, has passed the test. And that passing screen is saved even after the app is completely cl

How to implement expo push notification in react native with nodejs server

I am working on an app which needs push notification. I haven't used push notification before and I am no idea how to implement this with nodejs server. Any one

I can't add contacts using expo react native, "WRITE_CONTACTS" permission is required but I already have it

This is my app.json { "expo": { "name": "add-contact-list", "slug": "add-contact-list", "version": "1.0.0", "assetBundlePatterns": [ "**

Expo Cannot Find Module after reinstall

I'm having issues getting expo to start. It tries to open dev tools and dev tools will not open and gives me this error: Cannot find module 'C:\Users\charl\Ap

Why I need to press Login button 2 times then it will fetch the user data from firestore?

I am new to react-native and firebase authentication also firestore database. Basically here I would like to implement 3 different types of user which is buyer,

Image is showing extremely slow when selecting from ImagePicker

I have not been able to figure out what might be the problem on why after selecting an image it takes 1-3 seconds just to show the picture. The array of images