How to create view A closed then view B needs to show using react native?
In my scenario, I am creating single page two views. View A and View B, Here, I am maintaining two views A and B in a function call with separate render. View A having close button once its clickable...
View ArticleReact Native 0.62.2 crashes on Android api 19
I created a react native project and tried to run it on emulator with android 4.4 (api 19) but it builds successfully but not able to open app.This is my package.json libs:"dependencies": {"react":...
View ArticleReact Native Error: Unable to resolve module `./index` from `` - multiple issues
I use this boilerplate. I nearly got React Native working on my Android device. But somehow it fails in the last step because it does not find an index.js file. But that file is located in my...
View ArticlesegFault error on release apk logs for react native app
Release apk is failing with the segFault error when I try to access cameraview using react native nodemediaclient.import { NodeCameraView } from "react-native-nodemediaclient"; render() { return...
View ArticleTextInput flexDirection:row not working in React-Native
I am currently using React-Native for an Android Project. I have been trying to make a TextInput field with an icon beside the field. However, for some reasons, I notice that the flexDirection: 'row'...
View ArticleExecution failed for task ':app:processDebugGoogleServices'. Failed to...
I am keep getting below error:Execution failed for task ':app:processDebugGoogleServices'. > Failed to delete:...
View Articleadb.exe: error: closed when i run the react native app
I'm a new in react native so first thing I made is to install react native by running npm install -g react-native-cliand after running react-native infoI get this...
View Article(React native) How to use SafeAreaView for Android notch devices?
I'm actually developing an app with react native and i'm testing with my one plus 6 and it has a notch. The SafeAreaView is a solution for the iPhone X but for Android, it seems there is no...
View ArticleReact native app build success, but nothing displayed
I successfully run the react-native app and emulator also opended. I'm also getting emulator loading message too However After that it crashes and nothing displayAnd I'm getting an error when reload...
View ArticleReact-native and it dont work, accusing some error "Task 'installRelease' not...
I have this problem and did a lot of research but none of answer worked for me.SO: Windows 10Android Studio version: latest versionReact-native version: 4.6.3ERROR: info Running jetifier to migrate...
View ArticleHow can I generate an apk that can run without server with react-native?
I've built my app, I can run it on my local emulator (and also on my android device within the same network by changing debug server).However, I want to build an APK that I can send to someone without...
View ArticleIs it possible to find distance between 2 mobile devices ? Using react-native...
I want to develop an app which alarms the mobile users if they are close to another mobile user by less than 1 meter. Basically finding the distance between 2 mobile devices, if the distance is less...
View ArticleReact Native: Active state in AppState listener getting triggered when...
I have set up a listener for AppState in React Native to know when my app switches from background to foreground so I can show a splash screen.useEffect(() => {AppState.addEventListener('change',...
View ArticleAndroid app crashes on installing @react-native-firebase/messaging (v6)
Note :Console shows success build, so not able to track the error of crash.PS: @react-native-firebase/app already installedGoogle services have been added in to build.gradle and app/build.gradle ,...
View ArticleShow notification on foreground react native firebase v6
I am using the latest react native version 0.62 and latest version of react-native-firebase i.e. v6. I am able to get the notification and it working fine on the background but its not displaying on...
View ArticleJava or Kotlin for React Native bridge module?
My React Native app needs some native android functionality. Should I write the native code in Java or Kotlin? My concern is whether Kotlin will increase my package size. Some dependencies are added if...
View ArticleReact Navigation default background color
I'm using react-navigation and stack-navigator to manage my screens.Platforms I'm using:AndroidReact Native: 0.47.1React Navigation: 1.0.0-beta.11Emulator and DeviceI have a screen, which acts as a...
View ArticleADB can't connect to Nox
i have a problem which i trying to solve for about 3 days and i can't find any working solution. The problem is i can't connect my nox player to adb when i trying to connect with localhost and port...
View ArticleI got Could not find com.android.tools.build:gradle:3.5.0. when run...
I install react native 0.62 and the run npx react-native run-android on fresh installation (just after installation) but I got this error: FAILURE: Build failed with an exception. What went wrong: A...
View Articlehow to implement side drawer and stack navigator together
I have two navigation types, stack and drawer navigation. I have implemented both navigation types in different files and have gone through the react-navigation v5 docs to make it work without...
View Article