Category "react-native"

filter search bar not showing up

I'm trying to create a filtering search bar to sort through a limited set of data pulled from an API. The code compiled successfully, however despite having an

How do I post a message to a iframe (not webview) in React-Native?

I'm currently working with React-Native and need some ideas on how to solve an issue I'm having involving iframes (not WebView). I have a functional component w

BVLinearGradient was not found in the UIManager?

There is documentation about this, but it is for macOs only. https://github.com/react-native-community/react-native-linear-gradient. I linked the library by ru

React-native Stripe Payment Sheet with Subscription

I'm using stripe-react-native to handle payment, and I'm able to handle one-time payment via payment-sheet using PaymentIntent flow. Now I'm stuck with creating

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