Questions tagged [react-android]

102 questions
1
vote
4 answers

alternate to FlatList in react native

How to use FlatList feature in older react native versions ,my react native version is 0.41.2. Please suggest.I want to use flatlist in the collapsible sets to render large data.
1
vote
0 answers

Can't run APP - React Native

react-native: 0.46.4 I'm getting this error's only on android: FATAL EXCEPTION: mqt_native_modules Process: br.com.MYPACKAGE, PID: 2964 com.facebook.react.common.JavascriptException: No dimension set for key window I've searched that it happens…
1
vote
1 answer

Sticky Views while react-navigation

Im trying to build a mobile app where we have a constant header bar throughout the app. I have the body where I have buttons.. Each button navigates to a screen. I need the header bar in every screen but I dont wish to repeat the code in all…
subha
  • 426
  • 1
  • 3
  • 14
1
vote
1 answer

React native picker selected value gives undefined is not an object error

I am using below code for picker and to send the value selected from picker to api call, i keep getting this error Possible Unhandled Promise Rejection (id: 1):undefined is not an object (evaluating 'this.state.selected1') what am i doing…
Siddarth G
  • 779
  • 11
  • 34
1
vote
1 answer

React-Native: How to change background second action

the problem is quite simple I think, but I can't seem to figure it out. I am using the react-native-router-flux library and the NativeBase library for the buttons. This is my code:
1
vote
2 answers

How to change the default JS Server port in Android Application from 8081 to something else

On my system another application is using 8081 port. I am running below command to start react-native app on 9988 react-native start --port 9988 However when I run android, app is still listening at 8081 port react-naive run-android I managed to…
Mahesh B
  • 143
  • 2
  • 13
1
vote
3 answers

React Native set var from fetch

in my render function I am trying to display the name of a company. Therefore I call a function getCompanyByShortlink where I want to assign a value company_name to this.company. I checked the response and it contains all data I need, so no problems…
Oliver Franke
  • 35
  • 1
  • 1
  • 5
0
votes
0 answers

Getting issue with Memory buffer on a running react native project

React native project was running absolutely fine. but after some time it suddenly started giving me an error on building the app. Here is the error report: <-------------> 1% EXECUTING [1m 24s] > Resolve files of :app:debugRuntimeClasspath > Resolve…
0
votes
0 answers

Facing Fatal Error: SoLoader.doLoadLibraryBySoName

Facing non-reproducible error of soloader on released version. Getting following logs on crashlytics .. react-native: 0.64.4 Fatal Exception: java.lang.UnsatisfiedLinkError: couldn't find DSO to load: libhermes.so SoSource 0:…
0
votes
1 answer

Can't open url: tel: or prompt email composer in react native using webview

This current version of react-native I am using. "react": "17.0.1", "react-native": "0.64.0", This is data from api and showing in webview.
0
votes
0 answers

Sharing options not showing in app using react-native-branch

These details are using in my app package json "react-native-branch": "^5.0.0", "react": "17.0.1", "react-native": "0.64.0" Here is my code for sharing product using react-native-branch async createDeepLinkForProduct(product) { if (product ===…
Bhavin Parghi
  • 132
  • 10
0
votes
0 answers

How can we create a App header in reactNative

I have a requirement of showing a app header with hamburger icon on left , and dropDown Selection in middle , and icon on the right side and below this , I'm showing a search bar . All these has to be added in the header part. below the searchView…
I'm Coder
  • 125
  • 2
  • 13
0
votes
1 answer

App getting Crashed while installing it for the first time in React Native

ERROR TypeError: Restricted in strict mode, js engine: hermes is getting thrown when trying to import Axios for network request in react native application. The error gets removed when i'm trying to remove the import statement from the below…
I'm Coder
  • 125
  • 2
  • 13
0
votes
2 answers

React Native: Show Icon on BottomTab

I am new in react-native and i am working on an app. The below code is a simple react-native app which accepts input1 and input2 as numeric and produces the result of sum of input1 and input2 dynamically. But the problem is i am not able to load…
likith sai
  • 527
  • 1
  • 6
  • 21
0
votes
1 answer

i am working on react native expo project (background fetch time)

I'm getting the time one time. sometimes I didn't get that too. I need the background time. once if I started the fetching background button it should give the time in the console until I stop the fetch background. I used expo background fetch and…
Divya B
  • 9
  • 3