Questions tagged [react-android]

102 questions
0
votes
1 answer

Unable to addReactInstanceEventListener to React InstanceManager

I am trying to use a fix from this GitHub issue, but when using the solution in my code, this is not available. How can I pass this to the function? ´´´java public class MainActivity extends ReactActivity { @Override protected String…
Mr. Robot
  • 1,334
  • 6
  • 27
  • 79
0
votes
1 answer

How to convert GMT time using new Date() to AM/PM in react-native?

I am working in a react-native project and using moment library. I am getting issue while converting time (in GMT 5:30 IST) to AM/PM. It adds 5:30 hours in local current time. eg. From database time 3:00PM. After passing from new Date() => time…
0
votes
0 answers

Using React Native Context To Update List In Search Bar

I have a search bar in my React Native app, without context implementation the list displayed properly. But when I implemented Context, the list was not displaying again, only the search bar was displaying, and when I type on the search bar I get…
Benjamin Ikwuagwu
  • 377
  • 1
  • 9
  • 28
0
votes
1 answer

create-react-native-app confusion is not creating App.js file

I am trying to create a React-native application environment using create-react-native-app confusion but it is not creating all the files. It is only creating package.json and yarn.lock inside the confusion folder, App.js is missing and I am…
Badal S
  • 507
  • 1
  • 3
  • 20
0
votes
1 answer

First time using react. Rss display issue

I'm trying to write an application to my phone. I use the code from the react-native-rss-parser example. import * as rssParser from 'react-native-rss-parser'; return fetch('http://www.kbgau.ru/rss.php') .then((response) => response.text()) …
Gy9vin
  • 13
  • 2
0
votes
1 answer

Pass and get parameters in react navigation 5

how can I pass and get parameters in react navigation? I have tried this.props.navigation.getParams('name',defaultValue) to get the parameter.
0
votes
3 answers

Navigating between screens pressing headers image

Simple question: I am trying to navigate from HomeScreen.js to MessageScreen once pressing the HomeScreen.js header's image. However, when I press the image an error pops up: TypeError: navigation.navigate is not a function (In…
0
votes
1 answer

Hide buttons behind Images

Hi I am new to React Native. I have created an Image that when pressed on expands other buttons with animated view. However with these code the buttons are on top of the image before I press it and I only want them to be showed when the user clicks…
Tiago 2.0
  • 141
  • 3
  • 12
0
votes
1 answer

React native tab navigation within stack navigation not working

When i am trying to use a tab navigator within a stack navigator, the tab navigator is not visible. Except when i add a text above the tab navigator. This is my App.js with the stack navigator. const Stack = createStackNavigator(); const App = ()…
0
votes
1 answer

React-Native Interact with website like click button, select checkbox etc. on webpage

I want to open website in React-Native app with below requirements: Open website from app Select appropriate record from list Click on Edit button Edit appropriate details Click on Save button Above is requirement to provide user better experience…
Ramesh
  • 13
  • 7
0
votes
1 answer

Icon.button are working but Icon.ToolbarAndroid are not working in react native

Im trying to get work Material Icon.ToolbarAndroid on React Native App but its not working Info Fetching system and libraries information... System: OS: Linux 5.0 Ubuntu 19.04 (Disco Dingo) CPU: (6) x64 Intel(R) Core(TM) i5-9400F CPU @…
parrycima
  • 905
  • 8
  • 19
0
votes
1 answer

React Native - How to present an activity when getCurrentActivity() is not working

I'm working on a project which integrates 3rd party SDK in it. The SDK method needs my activity to be passed in. I'm doing this... processRegistration(getCurrentActivity(), someEncryptedString); and I'm getting following error... W/ActivityThread:…
0
votes
2 answers

Im using tcomb plugin for generating dynamic form in react native

Everything is ok , but my form consists select drop down in that im getting '-' in the first even though i didn't specify , how to remove it (You can see in screenshot) Here is the screenshot const dForm = t.struct({ items:t.enums({ …
T Jagadish Gupta
  • 101
  • 1
  • 3
  • 15
0
votes
1 answer

React native app crashes due to some out of memory error how to fix this

Because of the below error app crashes , i couldn't figure out what is the exact problem and what is the cause java.lang.RuntimeException: at com.facebook.react.bridge.JavaMethodWrapper.invoke (JavaMethodWrapper.java:383) at…
T Jagadish Gupta
  • 101
  • 1
  • 3
  • 15
0
votes
1 answer

When I touch with three fingers error is thrown in react native app

I have developed one app in react native and ready to publish , but at the end while testing when I touch app with three fingers it is giving error which does not look to user, I am not able to solve it.
T Jagadish Gupta
  • 101
  • 1
  • 3
  • 15