Category "react-native"

Could not invoke StripeSdk.initialise

Problem Image I'm not able to start Stripe in react native using expo const [prepared, setPrepared] = useState(false); const [isAvaliable, setAvaliable] = useSt

result.current is null when using renderHook () Custom Hook to test custom hook in react-native using jest and testing-library

For My project I am using one custom hook for navigation some of my screens as from one screen to another screen based on the parameters provide to the function

React native margin: 'auto' working on web but not on device

I am building an application which uses react native on expo dev. I am trying to add a button in the top left corner which is adjacent to some text o the right

React Native Navigation Argument of type 'string' is not assignable to parameter of type

I have this problem with react native, react navigation, even with this error the navigation flow is still working. Argument of type 'string' is not assignable

How can we report to our customers that the orders are closed in our react native app?

I am making a react native app to deliver homemade snacks by taking orders the previous day. Whenever I am not available, how can I notify my customers that I c

react native, installing cocoapods result: Folly can't modify frozen String (FrozenError)

When attempting to install cocoapods in an existing react native project, I get the following error: Fetching podspec for `Folly` from `../node_modules/react-na

React-Native: ERROR: requires JDK11 or higher. Incompatible major version detected: '8'

after running npm install and trying to build my app I get the following error: ********************************************************************************

Manifest merger failed with multiple errors Android studio React native

Hi i am a new reactnative developer and i cant start my new poject in android sttudio i get always the same error here are some pictures. This is mine AndroidM

Stripe for React-Native presentPaymentSheet has the wrong data

I have a bug that I don't understand how to solve. I have a component which is supposed to open a Payment sheet to let the user pay using the code below. const

cannot read property navigate of undefined

I am getting this error cannot read the property of navigate when try to navigate to the SignInScreen this is the splash screen that have created import React f

react-native-notifications Notification opened when app is opened from app tray (Android only)

I am using react-native-notifications version 4.2.4 on React Native 0.64.1. I have also tried on react-native-notifications version 4.3.1 on React Native 0.67.

React Native: Unable to resolve module. None of these file exist:

I am a beginner in React Native so I apologize if this is a noob question. I am trying to learn using this react navigation article and this about react login e

Remove push notifications token from Expo server

In order to use expo-notifications, I use this approach: -show an onboarding screen where user can accept to receive the notifications -if the user accepted to

Different CodePush options for Staging/Prod

In order to serve updates faster to testers, I would like to use different CodePush options for Staging and Production. For example, in Staging distributions, I

_enzymeAdapterReact.default is not a constructor when test jest

I'm having this issue when test react-native component with jest and enzyme TypeError: _enzymeAdapterReact.default is not a constructor Here is my dev dependen

React Native and WalletConnect (Uncaught Error: null is not an object (evaluating 'RNRandomBytes.seed'))

I want to use WalletConnect on my ReactNative app. As the WalletConnect docs say, I'm using npx rn-nodeify --install --hack (for introducing support for Web3) i

react-native-track-player crashing due to exo player version conflict in track-player and react-native-video

So I am using react-native-video and react-native-track-player parallelly, Normally both are working fine, but to use some extra functionalities of video playe

How to add the items from a array of JSON objects to an array in Reducer?

So I am fetching the list of 10 todos from https://jsonplaceholder.typicode.com/todos?_limit=10&page=1 I am updating data with the array of these 10 todos.

React native - Error: Hooks can only be called inside of a function component

I have the following problem in my component "SubmitButton" I want to execute a custom hook by clicking on the button. This hook is called "useLogin". But curre

react-native swipeable gesture not working on android?

I am doing a react native course with Mosh (https://codewithmosh.com/). I am using expo. I am very new to react native and don't really know what I am doing, bu