Category "react-native"

How to extend React Native View and other components props with styled-components

I'm using styled-components for styling in React Native with Typescript. I created a StyledComponent that styles a View component. However, when I try to extend

React native app : Not authorized to use location services

I'm currently working on a project that uses the geolocation service of my phone. I currently have a prolem with this service, it says that geolocation is not

Calling a function when opening a react-native screen

I'm trying to load a JSON from AsyncStorage every time a user opens one of my react-native screens (I'm using StackNavigator). This JSON contains information on

React Native TextInput flickering on setState

I am building a Currency Input component using React Native TextInput. While the user is typing, the requirement is that the text should always be format in thi

iOS AppDelegate.m: Handling openUrl RCTLinkingManager and Twitter - Duplicate declaration of method 'application:openURL:options:'

I need to add DeepLinking to my React Native app, and as mentioned in docs I need to add the method above @and. // Add this above `@end`: - (BOOL)application:(U

How to overcome ERESOLVE errors within EAS build for native-base and Expo?

I have got the following package.json file. Main purpose is to use Expo 44 with native-base (version ^3.0.0). I could not figure out why such an obvious combina

Deep Linking with react-navigation does not work

Actually, I'm developing an app on react-native 0.58 with react-navigation 3.1.5, and I can't make my app run properly. This is my code: app-navigation.js co

Deep Linking with react-navigation does not work

Actually, I'm developing an app on react-native 0.58 with react-navigation 3.1.5, and I can't make my app run properly. This is my code: app-navigation.js co

React native: DNS Cache issue

I have migrated my server to a different host. The IP has changed and now some of the apps in production is not working(not everyone affected). Especially affec

Invalid Keystore Format while signing the react native app

I have developed a react native application. I am trying to push it to google playstore. I am following the same steps mentioned in react native official doc ht

Error: Unable to resolve module `react-native-gesture-handler`

I try to use navigate in react-native.. I added : npm install --save react-navigation but it gives me an error like this : error: bundling failed: Error: U

Null is not an object (evaluating 'NativeMqtt.new client)

I'm using the MQTT protocol in my project, when I include the MQTT protocol with import * as Mqtt from 'react-native-native-mqtt' declare my client with const

need to return data from db transaction react native

i beginner in react native in main component i call database to execute my command and then i need to return data for me but after run console log me undefined

How to connect google fit on ios react native

currently I only see the google fit support library on android, is there any library that supports connect google fit on react native ios?

Invariant Violation: requireNativeComponent: "AIRMap" was not found in the UIManager. No fix?

I have followed the guide on the react-native-maps documentation : I got the error. I looked everywhere on stackoverflow and on google and I was not able to f

React-Router-dom and useHistory. Pushes new URL to history and changes URL but page does not change [duplicate]

I am to create an app which utilizes react-router-dom. I am currently trying to us eversion 5.2.0. I have tried to isolate the issue and focus

Hide scrollbar in FlatList (React Native) in Android

I am trying to use FlatList (React-native) in my app. I am using it horizontally and can see the scrollbar. There is an option in ScrollView to hide the scrollb

Malformed calls from JS: field sizes are different

I get an error when I run the ios simulator. As soon as I login, the app crashes. I was on the branch master, everything was working fine. I created a new bran

unhandled js exception unexpected identifier '_classcallcheck' in React native

I get this error: unhandled js exception unexpected identifier '_classcallcheck' unhandled js exception unexpected identifier '_classcallcheck' unhandled js ex

React native monorepo with Microsoft appcenter

Has anyone been able to build / distribute react native apps on appcenter using a monorepo? I've tried lerna and nx but no luck with either.