Category "react-native"

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

AWS Amplify: How can I sync data between each devices without stored in DynamoDB?

As the title suggested, we know when DataStore.save() performed, data would be transfer to the DynamoDB and already to sync to every client. So, the data will b

Xcode 13: How to add library search path for "library not found for"

When building a React Native 0.66 project today (used to be working), there is error complaining about library not found for a module which is located at my-pro

React AgGrid improve horizontal scroll performance

I am using AgGrid with number of rows and columns. I have also applied cellStyle for cell conditional formatting. Which slows down horizontal scroll performance

React native filter multiple attributes

i created simple FlatList in React Native that display data from Axios fetch i could search it by 1 Attribute For example ( item.name ) or ( name.description) c

RNGestureHandlerModule.attach Gesture Handler got 3 arguments, expected 2

I am building an app with React Native and have a login, Home, and member screen. when the user is admin I let him go to the home screen and when he is member I

flex row exceeding page width, text-overflow: ellipsis not working

my apps flex capabilities have changed since adding some code. In my MovieContainer ideally I want the flex-direction to be row (it's currently set to column) a

Getting 'could not resolve "jest-config" package from the "jest" npm package directory.'

I am getting "jest-config" package from the "jest" npm package directory error when I try to run e2e test for android application, I am using detox test -c a