Questions tagged [react-native]

0 votes
1 replies
How to pass a list with objects from Server to FlatList?
I'm trying to create a FlatList that contains an array with objects that has an array from a server and I can't get it to work. my error message...
2 votes
2 replies
UI doesn't update until tap on the screen when setState is called inside a realm listener callback
UPDATED DESCRIPTION I have a listener on a Realm Object for getting updates. When there is an update on the server (or in the client) the funct...
0 votes
1 replies
React Native Maps - the Card View is not showing
The problem is the Card View is not showing. I tried to apply it with index and position but nothing works. I need other's perspective. Thank you...
0 votes
0 replies
“.map is not a function” error only on Android Pie?
We are encountering a rather strange phenomena with .map in our React-Native (version 0.59.3) project: The APK runs well on various physical devi...
asked 1 month ago
-1 votes
0 replies
how to use canvas or konva in react-native , or how to pass from react to react-native?
I'm doing a project in native react and I have to make a stickman, I use canvas to make the shape and movement of my stickman but I can not integ...
-1 votes
0 replies
How to make my app appear in share list with expo?
I have an Expo App working on iOS and Android, and i want the app appears in the share list when click that option. It´s an expo app, so i don´t...
asked 1 month ago
0 votes
1 replies
make calls to firestore with auth-rules
I recently changed the firestore rules to the following rules: service cloud.firestore { match /databases/{database}/documents { match /{d...
0 votes
2 replies
Flex box not expected result in react native?
I am designing the UI of react native app using flex-box. But It code is not showing the expected result? Problem Margin property for InnerCont...
0 votes
0 replies
Is there any way how to update library react-native-maps in Expo?
Is there any way how to update library react-native-maps in Expo? There is a bug in version 0.22.1 (included in EXPO 32) that is a real blocker f...
asked 1 month ago
0 votes
0 replies
React-Native render after setState does not happen
So I've been working on a React-Native project which involves NFC card reading and for that I am using a library called react-native nfc manager....
asked 1 month ago
0 votes
1 replies
takeLatest$1 requires a saga parameters
Problem Hello to all, I'm tryin to use redux-saga and as the title said I have the error takeLatest$1 requires a saga parameters I don't know...
asked 1 month ago
2 votes
1 replies
How to construct a mathematical formula corresponding to the index with the presented values
I have this function to centralize a item in Flatlist (horizontal): centralizeItem = (index) => { const WIDTH = scale(95) let centerSize...
1 votes
1 replies
Using a method on a component in React Native Maps
I am trying to use the animateMarkerToCoordinate method on my marker in React Native Maps. The documentation proposes the following: componentW...
0 votes
2 replies
React-native does not find Genymotion
I installed android studio, I configured the environment variables and everything, I installed genymotion and created a device, but running the r...
asked 1 month ago
0 votes
1 replies
Property does not exist on type IntrinsicClassAttributes<Button>
I must admit these are my first steps in ReactNative world. I tried upgrade all npm libraries, and if I run build command I got a lot of errors...
-4 votes
0 replies
What is the best way to create a server to send push notification on a React-Native application for both iOS and Android? [closed]
I'm creating a React-Native application for both iOS and Android, and I want to add some notification to my app. I have a MySQL database, and I u...
-1 votes
0 replies
How to fix 'DeltaPatcher should receive a base Bundle when being initialized'?
after adding react-navigation i'm getting error before that working fine import {createAppContainer,StackActions,NavigationActions} from 'react-...
1 votes
1 replies
How to send long data (255 Bytes in one packet ) in ios using BLE
I want to send 255 byte string data in react native with BLE, in android there is no problem but in ios only 185 byte can be sent, I requested f...
0 votes
1 replies
React Native 'firebase.messaging().getToken()' is not called from 'RNFirebaseMessaging.java' class android in release apk
I am using react-native-firebase library for Firebase push-notifications in React native from Android Platfrom. My code works perfect in debug a...
0 votes
0 replies
I am using react-native-google-places-autocomplete to search for places and not able to configure for zip code
I have integrated https://github.com/FaridSafi/react-native-google-places-autocomplete successfully and now need only to know how to get suggesti...
asked 1 month ago
0 votes
1 replies
Is there any way to change the app name and app icon change after an user logging in?
I have a SaaS product and each of my clients want an app which has their name and branding such as app logo etc. Is there any way both in android...
asked 1 month ago
0 votes
1 replies
Is there a way to change the font color and the under line color of the top tab navigator?
I'm setting up a new component of top TabNavigator and I want to change the color of the font and the color of the underline that marks each tab...
asked 1 month ago
0 votes
0 replies
Hot to fix “Hub [ReferenceError : Can't find variable : user ]”?
I am using Auth.federatedSignIn and then when I try to do this:https://aws-amplify.github.io/docs/js/authentication#oauth-and-hosted-ui", at cas...
asked 1 month ago
0 votes
1 replies
Particle Photon API: Getting costumer token works on Postman but not with axios
I'm developing a react native application that combines a Photon Particle. By following the documentation of a Two legged auth; before configure...
0 votes
2 replies
How to orderby desc or asc in react-native?
I have array filled objects, and I want to orderby them but I couldnt do. This is my array with objects : I want to orderby according to "Tut...
asked 1 month ago