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

React Native App not working with raspberry pi

I am a newbie to react-native. I was previously working with native(java) android app development.I am trying to develop a Bluetooth app with react native using the following...

View Article


Prevent user from returning to previous screen StackNavigator

I want to do a simple task: after a successful login redirect the user to his home page. I use react-navigation's StackNavigator for that purpose:// App.jsclass App extends Component { render() {...

View Article


Couldnot update time stamp Error when running 'react-native run-android' in...

When I am running react-native run-android it says :FAILURE: Build failed with an exception.* What went wrong:Could not update time stamp for...

View Article

React Native App Crashes on Launch in Android (API 19)

DescriptionI have created a project with react-native-cliWhen I launch the app using the command "react-native run-android" on Devices and Emulators with Android API level 21+ App is launching.But for...

View Article

Invalid sdkVersion while running react native project

I'm stuck on the initial part of react native app building. I'm using create-react-native-app pkg to create the project and When I run the android version app through "yarn run android" command I get...

View Article


Photo upload on React Native Android produce Type Error Network Error

I'm executing a photo upload using the fetch API and I keep receiving Type Error Network Request Error. I receive the same error on the emulator and a device. I'm using react-native-image-crop-picker...

View Article

Local Video Not Shown on first time in react-native-agora IOS but work for...

I'm facing issue in react-native-ios, can't able to see first time local video when calling through react-native-agora. In react-native android its work showing both local and remote video.when I...

View Article

How do i download an image to device from base64 string >

I'm using ViewShot to capture an image with text rendered over the image,The image is coming from an api url,Im able to use viewshot to get the base64 image data but how do i download this to the...

View Article


React Native : BLE, Discover & Broadcast (advertise data)

I'm very new to BLE APIs and capabilities. I want to achieve a "simple" thing. Let's say I'm developing the APP-X. I want to be able to scan other phone around me, with APP-X installed (exactly like...

View Article


How to catch the number of the page that i'm in? ViewPager React Native

I'm using ViewPager by react-native-community to scroll down my page, but I'm having trouble when catching the page that the user is in, in the API there is a showPageIndicator: boolean but only for...

View Article

receive data in Raspbery Pi 4 with Android and BLE

I have learned a lot about Bluetooth Low Energy in the past 2 weeks.I pretty much understood the concepts with the peripheral and central mode etc.I explain to you what I want to do:SMARTPHONE_1:...

View Article

How can I launch a react native app using "Ok Google" and open a specific...

I want to set a custom phrase in "Ok Google" which opens my app with navigating the user to a specific screen in the app. I tried the 'google actions' but -as far as I know- it just supports some...

View Article

RN view over android native activity

I have a React Native app where I used an Android activity (thanks to a bridge). I would like to display some javascript text over this activity, but I don't have any solution. It seems like the...

View Article


Alert Dialogs work well on Debug but not showing in release mode on Android...

DescriptionThe application correctly displays all the alerts dialogs and toast messages in the debugging phase. The moment the build is built all the messages disappear. This only happens for...

View Article

Expo camera recordAsync works on iOS but not Android

I have function called record and stopRecording in my React Native / Expo app. These help me record videos in my app. async function record(){ if(camera){ setRecording(true); let recording = await...

View Article


How to determine if native apk / JS bundle has to be created for apps with RN...

I have been using code-push in production for more than 2 years.How I implemented?Whenever android folder of my react native app was modified, I assumed there is a native change and my CI/CD tool...

View Article

Android: managing Context/state without an Activity

I am trying to integrate some existing Android code that implements a GLSurfaceView within a react-native project. The context required for the GLSurfaceView to display what I want is contained in an...

View Article


React Native GeoLocation is not working on Android

Can anyone confirm if React Native Geolocation is actually working on Android?I am stuck with location request timed out while using getCurrentPosition() method and no error message while using...

View Article

react native enable hot reload/fast refresh for node_module java file

After react-native run-android, device was able to auto-refresh each time if I made change on my code.But code in node_module behaved slightly different from what I expect. It still works perfectly on...

View Article

React-native - tab navigator nested inside drawer

So as title suggest I'm trying to create drawer navigator, which inside has a screen with bottomTabNavigator. Drawer navigator works fine but when I enter route containing tab navigator it's...

View Article
Browsing all 29908 articles
Browse latest View live


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