Category "react-native"

I want to change state of the component without reloading metro in react-native

so basically i have bunch of apps in my application as you can see in image In my app it check if application is installed or not, if its installed its shows op

React native not displaying presigned AWS S3 URL coming from backend

I have a React Native snippet like this to show images in a flatlist card. <Image style={subheader.image} source = {{uri : image_url}} /> image_url has v

View lowers itself when typing in TextInput React Native (Expo)

In general the lay-out seems fine, the content is wrapped up inside a KeyboardAvoidingView as followed: <KeyboardAvoidingView keyboardVert

Implement Searchbar on top of Screen

I am trying to find some examples how to implement hidden search bar on top of Screen (react-native) like in Telegram: And can't find any useful examles. I am

npx react-native init creates app with wrong version of React Native

Using the following command: npx react-native init MyApp --template react-native-template-typescript --version 0.63.4 or npx react-native init MyApp --version 0

want the app to save state separately according to each user in react native

I have a app that conducts a test and when the currently logged in user passes the test, the app shows a modal telling him that he has passed the test. I want t

TypeError: _API.default is not a constructor with Jest tests

I have an API class that I am trying to use in a React app. // API file class API { ... } export default API; // Other file import API from "utils/API"; con

Convert android.view.Menu to JMenu

I have been using a react-native library react-native-selectable-text that I forked and made small changes to it. Now I want to be able to add some icons to the

Cannot find module '@babel/runtime/helpers/interopRequireDefault' from 'node_modules/react-native/jest/setup.js' when I run tests

I'm trying to build a mobile application with typescript, react-native, expo and jest. When I'm trying to run tests: FAIL src/components/Button/tests/Button.t

unable to set backgroundColor Transparent using screenOptions in React Naitve for iOS(React Navigation 6)

I am using custom drawer for my app where i am trying to keep the backgroundColor Transparent for which i tried the screenOptions as below but it is giving me w

React native reanimated runOnJs - does not update state every time

I have a list of items that should change state when they are swiped passed a certain threshold. I'm using runOnJs to call a function to change the state. Now w

How accurate is it possible to track the moving speed of a person via an app when using React Native as an framework?

I wanna create an app for tracking the running speed of an person in intervals. I want to develop the app with React Native for primary IOS and eventually Andro

How to create a simple React Native Chatbot with react-native-gifted-chat

I'm a new in react native, and I want to create a simple chatbot with react-native-gifted-chat. I've tried this tutorial https://youtu.be/ClBC93WPkmw, but it do

Installing dependency produces: ERESOLVE unable to resolve dependency tree

When I try to install a dependency I get the following error. How can I fix this? npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm

React Native iOS integration with Microsoft InTune

Is there a way to integrate Microsoft InTune with an enterprise iOS application written in React Native? There is an npm package called react-native-mdm that li

Setting state in useEffect hook does not change state value

am writing an app in react native and i got a problem with useState and useEffect hooks. I would like to change increment state value by one every 10 seconds. H

How to use drawer for custom toolbar

Here is my drawerNavigator import React from 'react'; import {createDrawerNavigator} from '@react-navigation/drawer'; import { SafeAreaView, Text, View,

state is not getting updated for a new user in react native

My app has a test sheet, if a user passes the test he is shown a passing screen and then the state is saved using asyncstorage. But the problem here is, let's s

How to test the purpose string of NSPhotoLibraryUsageDescription in iOS using Expo?

I've been struggling to verify if the purpose string for photo library access really is working as expected. It started with the application got rejected becaus

React Native Expo crashed after build

My app completely 100% working on Expo Go.It didn't working after build to getting apk file and implemented on my phone.StartScreen working so well.Then navigat