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

Pause certain notifications when app is closed (vehicle tracking)

I am developing a vehicle tracking application and am trying to implement functionality to notify users when a vehicle arrives at defined geofences.I need to restrict notifications so that the user...

View Article


Peer to peer connection using react-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


Convert WGS 84 reference ellipsoid altitude to actual altitude

I am developing an Android app in React Native and using react-native-background-geolocation as a library to get GPS data in the background. Everything works perfectly except for the altitude. As per...

View Article

BackHandler Navigation in Drawer Navigator and Main Stack Navigator in React...

I am not being able to get the backHandler (Hardware Back Button on Android) to work with my Drawer and Stack Navigation on React-Navigation The back button works perfectly on the homepage screen and...

View Article

Uncaught Error: Packager is not running at http://192.168.0.104:80

Hi i just started a new react native expo project and was still in the first page changing some text when all of a sudden the app on my android does not refresh and gives me an error " Uncaught Error:...

View Article


Image may be NSFW.
Clik here to view.

Splash Screen quickly turns to white on React Native Android

I added a splash screen to my app. The splash screen loads but then turns white for about 5 seconds before the app loads. I want to splash screen to stay on pretty much until the app comes up.I tried...

View Article

React Native Android: Bouncing Scroll View

I know the regular scrollview on Android doesn't bounce, but I want this functionality. I am trying to use the package SpringScrollView, but when I replace my <ScrollView> components with...

View Article

Add image instead of string title to react-native-segmented-control-tab

I'm using react-native-segmented-control-tab in my project and it works fine. Below is my current code<SegmentedControlTab tabsContainerStyle={styles.tabsContainerStyle} tabStyle={styles.tabStyle}...

View Article


React Native apps can be upgraded to Kotlin and Swift

could you help me please. I need to update an app from the Google store and another from the Apple store, both are created in React Native and I have the doubt if I can update them to Kotlin and Swift...

View Article


Not able to set cookie for 10.0.2.2 on android emulator

I am trying to set cookie using CookieManager on Oreo...

View Article

java.lang.RuntimeException: Requested enabled DevSupportManager, but...

After creating an app in React-Native, I imported a third party component into Android. After the integration of this component, which worked on an Android app, on the app in React-Native it gives me...

View Article

How to Get Location data from Photos in React Native Android 10

MediaStore.Images.Media.LATITUDE and MediaStore.Images.Media.LONGITUDE was deprecated in Android Q.Does anyway know how we can get the Media location on React Native with expo? Basically do the below...

View Article

React Native: How to create excel file from code?

is there a way to create an excel file from js code in React native? Can you share the library, including the examples how to use it?I need to export and download some data to excel file and download...

View Article


React Native app (release build) crashes on start, works fine in debug. Why?

When I run app in debug mode, it works fine, but when i install release mode it crashes immediately after start. I didn't find a fix yet.For reference I have attached my logs, build.gradle files and...

View Article

React native navigation v5 android back button handler

I'm using react navigation v5 and I'm trying to make a default android back button handler inside routes.js. Using flux there was backAndroidHandler param which let you do this. My questios is there...

View Article


Can I call a function inside a class using Headless JS? React-Native android

I cannot find any proper documentation for implementing Headless JS in React-Native for android.As, for now I have implemented these:AndroidManifest.xml :<service...

View Article

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 Article


Implement unstoppable background service in react native

I am trying to run a unstoppable background service in react native which will continuously listen for messages via Socket.io from server.For this I found several solutions with several problemsUse...

View Article

Image may be NSFW.
Clik here to view.

expo + react-native: There was a problem sending log messages

I am building a react-native app that I recently moved to expo. The app seems to display the expected screen, but before it completes, I am receiving the following error message: console.error: "There...

View Article

React native navigation v5 navigation.goBack() goes multiple screens back on...

On react navigation v5, when you press the button multiple times it goes back multiple times. On ios it's okay, because the animation starts and you can't click more on the button. const navigation =...

View Article
Browsing all 29427 articles
Browse latest View live