Category "react-native"

React Native - TypeError: n.createContext is not a function. (In 'n.createContext(o.default)', 'n.createContext' is undefined)

I'm trying to implement React Native into an existing Android application. I follow the steps in the official documentation and I have ended with the following

How to do Refresh in React Native ScrollView with refreshControl?

Now I would like to pull down a scrollView and refresh this component, so I have followed the official document mentioning onRefresh and RefreshContorol from r

the home button in the drawer is not working but the one on the bottom tab is working well

This is the App.js when I change the home name in the navigator it works well <Drawer.Navigator drawerContent={props => <DrawerContent {...props} /

Detox get length of element

Hi i'm using detox and i would like to know how can I get the number of matches to one element(length). For example "card" match three times, how can I get the

React Native HTML - rendering a linear background gradient

I’m currently HTML overflowing height: 300 a box, where React Native HTML is used. (this package: https://www.npmjs.com/package/react-native-render-html)

How do i prevent the keyboard from pushing my view up in react native?

I am building a registration form in React Native. I have this view. When keyboard is showing it is pushing my form and image over my title view like this. Wh

How do i prevent the keyboard from pushing my view up in react native?

I am building a registration form in React Native. I have this view. When keyboard is showing it is pushing my form and image over my title view like this. Wh

error Failed to launch emulator. Reason: No emulators found as an output of `emulator -list-avds`, I've added an avg in android studio manually also

I'm new to react native and trying to install it and facing this problems, I've tried many fixes but they don't work. full error- npx react-native run-android

Could not find 'ffi' (>= 1.3.0) among 85 total gem(s) (Gem::MissingSpecError) React native IOS on pod install

Hi I'm trying to run my react native app on mac mini. I can run another app also this app to but when i write pod install in terminal it gives this error. 1: fr

Unable to load script.Make sure you are either running a Metro server or that your bundle 'index.android.bundle' is packaged correctly for release

react-native run-android command terminates by leaving a message in android simulator. The message is as follows: Unable to load script.Make sure you are eithe

Expo Android requests being blocked

I'm developing an Expo app on both Android and IOS. I am making the same API request on both IOS and Android but for some reason the Android request is failing.

requireNativeComponent: "RNSScreenStackHeaderConfig" was not found in the UIManager when running android app

When running an application on android i get this error. It builds correctly but crashes with exception. I have installed React-native-screens, @React-native/na

Export without Render function in React Native

In my React Native application, i am trying to add a component where i'll perform some config tasks but that component won't render anything. I have made the co

error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65

I've build a react-native application and suddenly I get this error message on my terminal during run of the command react-native run-ios. The same code work fi

Multiple Bottom Sheets not opening in react native Ios

Hey folks I'm using react native raw bottom sheet in react native project.I'm showing a bottom sheet when the user click on an icon.It's working fine on both an

Expo iOS build crashing on splash screen

I developed an app using Expo and React Native. The app worked fine during development using the Expo Go app, I tested in Android and iOS. Then I built each app

Get the current active screen route of the tab navigator in react navigation

This is my navigation stack using react navigation v3.2.1: I have a switch navigator to switch to Authentication navigation stack and Authenticated App stack.

Why do i get this error in my home page during navivation load on the chat screen and updates

Found screens with the same name nested inside one another. Check: This is the main code that brings the error. The error is in some of the screens. how do i ge

ld: unsupported tapi file type '!tapi-tbd' in YAML file

I am facing an error which running "npm install" (see picture attached) node version: 10.7.0, npm version: 6.1.0 MacOs version: 10.15.6 It's a react native proj

Changing Picker.Item font family React native?

<Picker // selectedValue={this.state.language} selectedValue="USD" style={{ height: 50, width: 100, marginRight: 10, justifyContent: 'flex-start' }}