Category "react-native"

Can my symbol be exactly at the middle of mu button?

I have my "+" that is a little bellow the center in my button. How can he be right in the center? Here is my code: Code

React Native android FormData response goes to catch block after .json()

I'm trying to POST data with FormData to get a response, on iOS it works as expected, but on android, it always goes to the catch block, I found out the reason

Why am Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: number

I was running this program to display SVG image import React, { Component } from 'react'; import { View } from 'react-native'; import Expo from './assets/check-

React native web storybook react-native-vector-icons problem icon

I'm developing a react native component on storybook, which uses react-native-paper and react-native-vector-icons. The problem is that I can't see the icons, I

Why does NPM not work with installing styled-components? Why does Xcode build fail if I install with Yarn?

I am trying to start a React app with React Native CLI (also tried with Expo, both with a Yarn startup and NPM startup separately). This is the error NPM trying

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