Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Browsing all 29423 articles
Browse latest View live
↧

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 Article


App 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 Article


How 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 Article

REACT 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 Article

After 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 Article


Image may be NSFW.
Clik here to view.

How 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 Article

Image may be NSFW.
Clik here to view.

How 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 Article

Keep 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 Article


Task '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 Article


Image may be NSFW.
Clik here to view.

React 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 Article

How 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 Article

Peer 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 Article

Image may be NSFW.
Clik here to view.

React 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 Article


Image may be NSFW.
Clik here to view.

How 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 Article

Change 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 Article


How 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 Article

camera.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 Article


Error:(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 Article

How 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 Article

React-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
Browsing all 29423 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>