Category "react-native"

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' }}

Disable Screen Capture/ScreenShot in React Native App

I have came across few solutions specific for ios and Android to prevent screen-capturing and taking screenshots. But how do i disable screen-capturing in react

Save payment for later option, Stripe, React Native, Expo

I'm trying to setup a way to setup a payment for later with a prebuilt Stripe component in a React Native Expo Project. I'm following along with this project: h

react native top tab bar navigator: indicator width to match text

I have three tabs in a top tab bar navigation with different width text. Is it possible to make the indicator width match the text? On a similar note, how can

Execution failed for task ':react-native-camera:compileDebugJavaWithJavac'

I am creating app using React-Native and testing it on Android device. After adding react-native-camera module, the following error occurs: org.gradle.api.task

TypeError: getTodosFromUserDevice is not a function Also TypeError: saveTodoToUserDevice is not a function

I have created a todo list and it works fine, but I need to add async storage to store the todo list when the page refreshes, or closes etc. So, I added async s

Not able to use relative values in React Native Styled Components

From the react native styled-components documentation, I've seen EM values being used in place of the usual px. However, when I try compiling my project which u

How use UseRef to show popover just above the pressed element in React Native?

I am using the Flyerchat library for the chat application. <Popover isVisible={open} onRequestClose={() => setOpen(false)} from={t

React native async storage token goes missing after going back a screen and coming back auth is failing

I am new to react native, bear with me. when i click on categories(A) i navigate to new screen containing different subcategories(B) i am using get token on thi

How use UseRef to show popover just above the pressed element in React Native?

I am using the Flyerchat library for the chat application. <Popover isVisible={open} onRequestClose={() => setOpen(false)} from={t

React Native TypeScript Error: Module '"react-native"' has no exported member 'Appearance'

I've recently implemented dark mode into my app, but having an issue with an error when building the npm package with npm build. The code works, but is there a