Category "react-native"

.tsx files throw errors while .js files work fine

in react-native, when I try to pass parameters to functions/components/etc, typescript files will always complain and it won't work until I have specified the t

How to check if a key is pressed/held down using event listeners and hooks in React Native?

If I need to know whether a key like the shift key is currently being pressed, how can I find that info? This solution should assign this info into a single var

react-native-track-player Play one song and stop / await user input implementation

I am trying to use react-native-track-player in my app. The functionality of my app requires that one audio track is played, and then it needs to await user inp

Lottie working on an Emulator But not on real Device

I have lottie library in my project built on react-native. followed These installation steps on an android, but to my surprise the animation works on fine on em

React Native / Expo / NativeBase - fontFamily "Roboto_medium" is not a system font and has not been loaded through Font.loadAsync

I am creating a mobile app using Expo and would like to use NativeBase for UI components. No matter what I try to do I get this annoying error: fontFamily "Robo

How can I fix this Mixpanel iOS 30-second background task timeout bug (mixpanel-react-native)?

Problem My app is occasionally terminating in background after 30 seconds in release mode. The below warning appears after ~30 seconds of the app being sent int

PhaseScriptExecution error in React Native app

Facing this error when I run react-native run-ios after creating the project Error - error Failed to build iOS project. We ran "xcodebuild" command but it exite

Understanding Flutter and React Native [closed]

I am evaluating React Native and Flutter. I am not experienced in both of these frameworks and hence need some information which I did not fin

How can I view network requests (for debugging) in React Native on Windows?

I found a lot of answers on this topic example but they were all about Mac Os, I would like to view my network requests in React Native to help me debug Windows

Could not find com.yqritc:android-scalablevideoview:1.0.4 react-native-video in Android

I want to use react-native-video in my project. After installing this package I got this error every time (Only in android). I have added all the additional cod

Shuffle button is not working in react native using track-player

I am using react-native-track-player in my existing project, the issue is when user clicks on shuffle button then every time it's playing next song, I'm adding

Change Style When Orientation in React Native?

I am using Function class in react native, now I open my app in portrait my screen design changes if I open the app in landscape my design works fine how to ren

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