Questions tagged [react-native]

React Native is a JavaScript library used to build native mobile apps using React. The focus of React Native is on developer efficiency across all the platforms you care about - learn once, write anywhere.

Filter by
Sorted by
Tagged with
0 votes
1 answer
4 views

onPress not working in react-native on android

I'm using a <G> component with an onPress handler <G onPress={() => toggleRegion('ne')}> ... </G> The toggleRegion() handler fires every time on iOS (emulator, real device via ...
user avatar
  • 16.4k
0 votes
0 answers
7 views

How to render images in flatlist with REDUX in expo (react native)

I'm trying to use redux (for the first time) to access state in multiple screens in my project. The flatlist without redux (implementation) works well and displays the image list before dispatching to ...
user avatar
0 votes
0 answers
6 views

Committed changes on one branch break things on another branch

Here's a rundown of the issue: I am running my project on the Xcode simulator, everything is fine. I switch to a new branch to update react native. I run npm install and pod install. I try building ...
user avatar
0 votes
0 answers
8 views

React.memo failing on Comparison

I'm using React.memo on a message component for a chat app I am making and am having difficulty with it actually updating when needed. My message component has an element that states its position (...
user avatar
  • 9
0 votes
0 answers
5 views

Expo deep linking get the url from my current screen

I am on my profile page and I navigate to a stack screen. So I am now at my screen: Storys. I want to get the current screen url. I want to share the link so if a user goes press the link he should ...
user avatar
0 votes
1 answer
31 views

map through two arrays React

I am wanting to display information on my app from two mapped arrays. {filmWorld.Provider && filmWorld.Movies.map((movie, index) => { return ( <div ...
user avatar
0 votes
1 answer
8 views

How to get styling to refresh with new variable in react native

Using a global variable to store dark and light mode variable. In app I have place where variable is changed as user toggles if they want dark or light theme, but I cannot figure out how to get ...
user avatar
  • 1
0 votes
0 answers
10 views

Layout responsiveness for mobile only in react native

I am learning about react native layouts and according to my understanding, dp unit is not responsive on all devices. My layout is overflowing on smaller devices such as on 5 inch screens. How can I ...
user avatar
0 votes
0 answers
3 views

Uploading an mp3 to Firebase Storage with React Native Expo

I am attempting to upload an mp3 to firebase storage using expo and react native. So far I've got the file into firebase storage, but it's only 9bytes large, so I'm doing something wrong. I've ...
user avatar
1 vote
0 answers
5 views

Style does not work stably when using Expo and NativeBase

I developing my app with Expo and NativeBase. Now this time, I would like you to help me with this weird Style problem. Environment "dependencies": { "@react-navigation/bottom-...
user avatar
0 votes
0 answers
6 views

React native async storage token goes missing after going back a screen and coming back auth is failing

I am new to react native, bear with me. when i click on categories(A) i navigate to new screen containing different subcategories(B) i am using get token on this page(B) and sending a request to fetch ...
user avatar
0 votes
1 answer
18 views

React Native: Opening a Modal from inside another Modal doesn't work in iOS

I have a Dropdown component which is just a React Native Modal positioned next to a toggle - the Modal allows me to make the whole background a Pressable so I can close the dropdown when any area ...
user avatar
-1 votes
0 answers
8 views

firebase java.lang.IllegalArgumentException: Modal model must have a title

I'm using Firebase In App Message in my application and trying to use custom display in the messages. When i try to use the markAsClicked callback, he asks for an Action as argument, but the getAction ...
user avatar
0 votes
1 answer
17 views

SectionList return duplicated items in react native

i am trying to get rows from database like this: ... const [recommendedItems,setRecommendedItems] = useState(null); const [recommendedStores,setRecommendedStores] = useState(null); const [allStores,...
user avatar
-1 votes
0 answers
9 views

Is it possible to monitor (and probably block) HTTP requests of apps in Android?

For my idea I need to make a background Android process which will monitor and block HTTP traffic according to some URL patterns. Is it possible to do that?
user avatar

15 30 50 per page
1
2 3 4 5
8418