Category "react-native"

Installation of @mauron85/react-native-background-geolocation

I am building a react native app and I have to get user geolocation in background. I have this error when I run npm run android after I installed this library h

React native function return nothing

I'm trying to do something simple here - connect to a sqlite database and return the number of records. In the code below I can output the len variable with co

React native function return nothing

I'm trying to do something simple here - connect to a sqlite database and return the number of records. In the code below I can output the len variable with co

How to simulate android back button in react-native test

In componentDidMount I'm adding a listener to handle Android back navigation and would like to add tests around it's behaviour. How do I firstly test something

React Navigation v5 use custom header

Is it possible to have a custom header if I set the header to be off in React-Navigation V5? I tried to, but the headerLeft and headerRight seems to do nothing,

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