deviceNotReady error : "Registration failed"...
I am working on react native application and want to integrate the Phone masking feature like Uber do. I have choosen Twilio Phone Masking for this. I have used react-native-twilio-programmable-voice...
View ArticleApp crashes on launch time with react native CLI after installing...
I have installed all the packages for react-navigation. I have followed all the instructions given from React Navigation.After installation when I build the app it's building successfully but getting...
View ArticleHow to get Native Module return value?
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, yarn android, error Command failed: ./gradlew app:installDebug
COMAND: yarn androidyarn run v1.22.0$ react-native run-androidinfo Starting JS server...info Building and installing the app on the device (cd android && ./gradlew app:installDebug)...Erro: Não...
View ArticleAfter request permission in react-native application got java error and...
Can anybody help with this: After making request for permission (CAMERA, one of location or another), got error: const granted = await PermissionsAndroid.request( PermissionsAndroid.PERMISSIONS.CAMERA,...
View ArticleHow to set backgroundColor of tabbar when the borderRadius is given to it?
I want to set my tabBar of borderRadius 30 and set the backgroundColor of the tabBar, but the problem is that there is white color background in the tabBar even if I have set the backgroundColor to...
View ArticleHow to update version number of react native app
I am using React native with Android. How can I update version number in the app? As I am getting this error.I am generating file as per this url...
View ArticleKeep getting an error when a test fails running tests on Android
DescriptionDISCLAIMER: This was also posted on github here as an issue at the wix/Detox repo, so you can be better check the images there.When running tests on an Android simulator, if one of them...
View ArticleTask 'installDebug' not found in project ':app' - run-android after creating...
After creating a react native project, I tried to run it on my android device. I enter adb devices into the terminal, I saw my device. I ran react-native run-android. And after a while Task...
View ArticleReact Native Navigation (6.3.2) - How to hide top statusBar completely in...
I am trying to build a new react-native application using react-native-navigation. earlier we have an application which is using v2.x of react-native-navigation and I am able to work with the...
View ArticleHow to fix react-native link react-native-vector-icons error
I want to link react native vector icons to my project. But after i enter react-native link react-native-vector-icons I get the followingwarn Calling react-native link [packageName] is deprecated in...
View ArticlePeer to peer connection using ract-native
I am looking to build a Mobile app using react-native that should be able to find nearby phones with the same app installed. At a highlevel, I am looking for something like this:This app should be able...
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 ArticleHow can i set elevation shadow only on the bottom on react native
I'm trying to add a shadow on the bottom of a view, but i don't how to do it on Android. With elevation it put a shadow also on the top. Is there a way to do it like on iOS?Here's my code:export...
View ArticleChange Orientation of react native app to Landcape mode
Hello friends i have created Netflix Like app and in that I have used expo-video-player i want when user click on Fullscreen button it automatically Change orientation of app to Landscape and play...
View ArticleHow to switch account using GoogleSignIn without sign out?
I am building mobile application with google sign in button. I want to show auth popup everytime I need without signing out before. So user can change his account to another one OR if he changes his...
View Articlecamera.takePictureAsync(options) is not a function in react native camera
Hello im new in react native and i just building my first react native project with camera without expo. I installed it with npm install react-native-camera and then linked it with react-native link...
View ArticleError:(23, 17) Failed to resolve: junit:junit:4.12
Why is it that every time I create a new project in Android Studio, it always comes up with:Error:(23, 17) Failed to resolve: junit:junit:4.12?When I remove testCompile 'junit:junit:4.12' in...
View ArticleHow to check if the app is opened by clicking the app icon or by clicking on...
I'm using react-native to build the app. I need to navigate to two different routes depending on how the app is being opened. Is there a way that I could differentiate it?
View ArticleReact-native build fail: "Could not create task...
I'm trying to run my react native app on my usb connected android device. Yesterday it worked perfectly, but today, without changing anything, npx react-native run-android command fails with this error...
View Article