Category "react-native"

Nativebase: How to render an Icon?

The documentation says "Use a third-party icon library ( such as @expo/vector-icons ), with as prop." I don't really know what that means, but let's say i want

Expo splashScreen not changing

So I'm building an app apk file with expo, and I'm pointing to my splashscreen images on app.json. { "expo": { "name": "D&D Monster Reference",

How to keep marker at the bottom of the screen when zooming like google maps?

I was wondering if it is possible to change the default behavior zoom, the default seems to change the viewport in all directions, but I want to keep the bottom

every first react-native component gets typescript error

When I use the Text component of react-native, I get this error: No overload matches this call. Overload 1 of 2, '(props: TextProps | Readonly<TextProps>

Expo TypeORM EntityMetadataNotFoundError

I'm trying to use typeorm on an expo project through driver expo-sqlite but I've been stuck on to this metadata EntityMetadataNotFoundError: No metadata for "Us

How to update the access permission using expo for iOS

I read expo's guides regarding applying for permission for the photo folder in the app. I added the correct strings in the app.json file "infoPlist": { "N

'loading' remains true when loading data with 'useQuery' using 'apolloClient' in react-native

I'm trying to fetch data using Apollo Client useQuery in React Native, but loading hangs at true state and fails to fetch data. below is the actual code. App.js

TypeError: Object(...) is not a function (React)

I was following a tutorial on how to add google maps to a react/expo javascript project. I am new to the javascript language and have had a bug that I cannot fi

React native iOS arrow keys

I have a page with multiple inputs, is it possible to add those arrow keys button to the keyboard from React native, so the user can use arrow keys to move bet

Tinder-like swiping in React Native

I am trying to optimize my component which will load a set of Cards based on the data it gets from each element of the array, and I want to implement a Tinder-l

React navigation 5 really slow and dropping JS FPS on Expo

I am currently working on a React Native (Expo) App and I am facing some performance issues. I have not found any answer yet for my problem so I hope someone ca

`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