React Native Press Two Buttons at the same time
GoalI need users to be able to press up to 4 buttons at the same time in React Native.Current RoadblockI'm using TouchableHighlight and when one button is pressed, none of the other 3 buttons can be...
View Articlehow can send badge from firebase-admin to android application?
I want to send badge from firebase-admin to applications. I can send badge to iOS apps and show its on app icon but in android can not. how can send badge from firebase-admin to android applications...
View ArticleHow to profile network on React-Native?
I am searching that for a day but can't get proper solution.I have to know how to profile network requests on my react-native app.I am uploading data to the API and two servers and want to know what is...
View ArticleIs it possible to show 10-second loading screen after button is pressed in...
I need to show loading screen when press button (until app get data from API) for cca. 10 seconds.Is it possible and how to do that?
View ArticleGetting shortcut on the folder in node modules while installing the package...
Am trying to create an new library and trying to add in my project, my library source is in below path file:../react-native-svm-camera .In my package.json inside the directory i have "dependencies": {...
View ArticleReact native hardware back button is not working
I'm working on react native Android and face problem for hardware back button my react native version is 0.44.2 and I'm using BackHandler below is my code for the back...
View ArticleHow to use Xcode in Ubuntu 18.04?
I'm using react-native to build an app and Xcode is not supported on Ubuntu. So, I can't develop ios apps. Is there any way around so that I could run an ios simulator without having a Mac? I found...
View Articlereact-native run-android Building Error ':app:generateDebugBuildConfig'
I am having a problem to build a new project. I am using React-Native and Android Emulator (AVD) but when I use the command react-native run-android I get the following message:FAILURE: Build failed...
View ArticleHow to get data from other native app content provider in React Native...
I am not able to figure out how to get data from content provider to react-native. I used RNFS in react native and my Uri is content://path to the content provider.const exFile = await...
View ArticleReact native pass xml file for reading to android which is in the structure...
I have a react-native project, which has the following structure.... - /src - index.js - package.json - App.js - ... - custom_file.xml ... custom_file.xml<LinearLayout...
View ArticleChanging initialRouteName dynamically when navigating between StackNavigators...
I have used multiple StackNavigators inside a single StackNavigator. I want to navigate to a specific screen in a stack instead of the initialRouteName defined when navigating.I have tried the...
View ArticleReact Native - BackHandler is not working when keyboard is in opening state
I need to close a view using setState while closing the keyboard. Using the onBlur event in TextInput, it is working fine. But In android on pressing the hardware back button also keyboard is closing....
View ArticleViroReact render issue in debug build android
I am using ViroARSampleApp code to demonstrates placing, rotating and dragging objects in AR. Everything is working fine when I run react-native run-android --variant=arDebug but when I detach data...
View ArticleonPress() function of TouchableOpacity does not work at first if the keyboard...
I have used TouchableOpacity as my submit button, after filling the form(Login/Registration/...) when I click on submit button(TouchableOpacity), the keyboard hides (if open), and then I need to press...
View ArticleCould not connect to the development server - react-native
I'm new to RN and I've been trying to run this react-native app for days now. After following up the guides provided by the official website, I came to the point where the app creates and builds...
View ArticleReact Native multi line TextInput, text is centered
So when using, text input with multiline=true, I have this issue where the text is vertically centered instead of being pushed to the top.This issue happens on both ios and android, except android has...
View ArticleReact Native, Expo Android Build: Error While Updating Property X in shadow...
I built an app using React Native through Expo SDK 36 and built an apk and an aab for Android on SDK 29 (Android 10).The build worked perfectly on Expo Simulator (Android and iOS). The android build is...
View Articleerror: bundling failed: ReferenceError: SHA-1 for file index.js
react-native: 0.57.0 yarn : 1.9.4 nodejs: 9.10.1react-native run-android give me this error:[android, dev] ..\..\../index.js ░░░░░░░░░░░░░░░░ 0.0% (0/1)::ffff:127.0.0.1 - - [14/Sep/2018:07:12:00 +0000]...
View Articlenpx react-native run-android: E/Device: Error during Sync: EOF
I am trying to run react native app to my real android device. I checked my device before runningadb devices List of devices attached 3357425441473098 device I started withnpx react-native start and in...
View ArticleCan't run react-native run-android on Mac
I have a complete react native environment on my iMac, the project run completely when i run react-native run-ios, but when i'll do this with android it doesn't work, metro bundler window opens but...
View Article