Category "react-native"

how to change prettier format for react native

my code formatting prettier didn't works well for react native, i don't understand where to config it but it works well with flutter from this code import

Zerodha Kite Publisher Button in React Native

I wanted to use Kite Publisher button in React native , I have used it in React but not sure how to use it in React Native?

Command failed: xcrun instruments -s

I want to run my react native app on a real ios device with this line : npx react-native run-ios --udid SOME-UDID but i got this error : xcrun: error: sh -c '/

I'm unable to load @apollo/client on a React Native Expo app

I'm trying to load @apollo/client on a React Native Expo app. And I get this error: While trying to resolve module @apollo/client from file /Users/andrepena/gi

How to maintain global states created dynamically

I am trying to Display list of items with then name and button to download its respective file Same list are available in different other screens. When I click

How to make redux function call on radio button click react native?

I am working on project of Food app. I have preference screen where user can click on any desired preference to add in order. This is working but I want to disp

react-native custom header navigator has unwanted margins

I have drawer and stack navigator. I disabled header of drawer and stack navigators. And create my own header component but I cannot rid of the edge margins of

sort .map data in react js (show latest date on top)

I am trying to sort data according to date where the latest date must come at top of the list let mapped = predefined.reduce((r, a) => { r[a.date] = [...(

How can I send firebase notifications using any other notification Library in react-native

I want to build custom style for the notifications I'm recieving from firebase in kill/background state.

why my react native dotenv is not working?

I want to use react-native-dotenv but its not working. https://github.com/zetachang/react-native-dotenv I created a .env file and added a FB_ID=21221 then I go

I am unable to delete items in my React Native app

I am unable to delete items. This is App.js file main file: import { useState } from "react"; import { StyleSheet, Text, View, Button, TextInput, Fl

setTimeout block execution code block in NativeEventEmitter callback

I am trying to send a string to the native side (android) with a delay. But setTimeout is blocking the execution. Could you explain what is happening? const eve

Typscript Error on Class Constructor - No index signature with a parameter of type 'string' was found on type 'BarberModel'

I have a class constructor and I want populate it with an object that I receive in constructor. But I don't know how to solve this TS error on line this[key] =

reactive-native cli error creating new projects "Android project not found."

When I try to run a react native project with the command react-native run-android the following exception is a displayed: "Android project not found. Are you

Debugging undefined is not an object (evaluating 'Object.keys(routeConfigs)')

I'm using Expo and React Native to create a simple iOS app. I am currently getting this error and have no idea how to fix it. I've tried various other solutions

Drawer reopen Sometime when change screen

I am using react navigation drawer v6 with custom header when click on hamburger menu it show drawer its work fine but when I navigate from drawer it change scr

implement tooth chart in react native

I want to implement a tooth chart like this in react native that user can select a tooth by pressing on it. How can I achieve that?

Inconsistent behavior from react-native-blob-util and fetch

I'm trying to call an API that takes an image and some data and returns json. I'm using react-native-blob-util with fetch. Problem is, the same code is working

can't setup app events for the app (react native) on ads manager for android

I had react native app I tried to get app events manual by these line await Facebook.logEventAsync('addToCart'); I can see these event on the event manager b

Why does back button doesn't navigate back to home screen?

I added home stack and recepies stack files but now when navigating from homescreen to view single recipe the back button doesn't work anymore and doesnt naviga