react-native run-android Exception in thread "main"...
I try toreact-native run-android and meet this problemJS server already running. Running C:\Users\丶丶困困兽兽犹犹斗斗\AppData\Local\Android\sdk/platform-tools/adb -s 192.168.76.101:5555 reverse tcp:8081...
View ArticleReact native, get size of bottom tab and set Fixed position for screen
I am using import {createMaterialBottomTabNavigator} from '@react-navigation/material-bottom-tabs'; export default class TabBar extends React.Component { constructor(props) { super(props); } render() {...
View Articlebest way to handle Action redux in a music App - react native?
I'm implementing a music app,In-Home screen "for-example" I get the lists of songs From API and when user press to any of them I dispatch an action "true/false" to appear the bottom mini-playerafter...
View ArticleReturn true from onKeyDown stops the event propagation to React native
I am trying to detect the LongPress event of any keys. Here is the MainActivity.java@Override public boolean onKeyDown( int keyCode, KeyEvent event ) { if(Seek.LONG_SEEK_BUTTONS.contains(keyCode)) {...
View ArticleHow to blur or add overlay to hide ReactActivity when app is in Recent View...
When the app is in recent view or background, I need to hide the sensitive information on the current React Native app. I've tried to use FLAG_SECURE flag to add an overlay to the app. However, it does...
View ArticleReact Native Fetch Remote Http request throws Network Request Failed (On...
I am trying to access Remote HTTP Api on my local machine. The API is working perfectly on Postman as well as on Chrome in my local machine. But When making Fetch call using Expo React Native Fetch I...
View ArticleRealm.objects() in react-native app return empty objects
I'm creating a db in realm, but when i want to consult the data with Realm.objects() return empty objects, like this: {"0":{},"1":{},"2":{}...etc}, my code is the next:import Realm from "realm"; const...
View Articlehow do i call a component in react native from a native-android widget?
i am using react native cli (RN=0.61). I have a component which is for SOS message sending. I want to call this from an android widget developed using android studio (java).How can i do it ?P.S. I have...
View Articlereact-native-camera : Could not find...
I installed react-native-camera and everything works fine on IOS. When I run npx react-native run-android I get the following errors.FAILURE: Build failed with an exception. * What went wrong: Could...
View ArticleHow solve this issue in react native
$ npx react-native run-android info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag. Jetifier found 864 file(s) to forward-jetify. Using 4 workers......
View ArticleAfter Expo Eject, run-android error: spawnSync gradlew.bat Enoent
I was using expo, but then needed to link a third party package so I ejected from expo with Expo Kit. now when i try react-native run-android, the metro bundler starts but then the following error...
View ArticleHow to populate value of array on ui according to key in SectionList
In my code I am getting below array value and am populating these value on the basis of key in SectionList . All key value is coming proper in UI , but in my renderitem I am facing some problem .See...
View ArticleUser registration and signup using private and public key
I am trying to create a react native app where users can log in without using passwords or emails. The idea is that at registration, we capture users cellphone number, verify it using OTP and once...
View ArticleHello I Am new in React Native can you please tell me ho to get Native Module...
I want this promise value in App.js class with button click. Please help me in finding out the solution. @ReactMethodpublic void initTimerService(Promise promise) { TimerService timerService =...
View ArticleReact Native (Android) with Django Rest Framework - TypeError: Network...
Trying to set up fetch request for the first time in react native, but I end up with an error screen. I have already made sure my server is running on my inet address but the device just wouldn't send...
View ArticleHandling onEndEditing on Android React-Native
I have an issue where upon clicking a on a real Android device, the onEndEditing handler is not called on the last focused text field. So essentially to reproduce the issue you would be entering data...
View ArticleReact Native: Container with horizontal and vertical scrolling flatlists...
I have a big Problem with React Native: i need a container which is horizontal and vertical scrollable and only loads/render the inner elements if they are in the viewport (huge amount of data). I...
View ArticleUsing expo-speech in android doesn't work and throw exception
I am trying to use expo-speech in my react-native app and I am getting the following error on my Android:[Unhandled promise rejection: Error: Encountered an exception while calling native method:...
View ArticleHow to load local svg file with react-native-svg library
I am trying to load a local svg file in react-native with react-native-svg library, i have already installed it but i can't figure out how to do it with local svg files. the file is located in...
View Articlewebview app with Bottom Navigation TabBar and( local storage)
I would like to create an (ios + Android ) app for my wordpress site that can work offline using (flutter , react-native ,swift + java/kotlin or xamarin or any other solution) +///bottom Navigation tab...
View Article