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

whenever I run new project in react-native i get error message that is...

Failed to install the app. Please accept all necessary SDK licenses using SDK Manager: "$ANDROID_HOME/tools/bin/sdkmanager --licenses". Run CLI with --verbose flag for more details. Error: Command...

View Article


React-native-navigation hide navigation bar on login screen?

I am using the react-native-navigation in my react-native application for navigation. I wanted to hide navigation bar on first screen I tried { navBarHidden: true} The complete code for navigation is:...

View Article


React Native app won't start when using applicationIdSuffix

I am using react-native-codepush@1.16.1-beta and part of the setup includes specifying applicationIdSuffix. I've set this up on a previous app in the past with no issues (React Native 0.37). I've...

View Article

Setting up Detox with Expo on Android

I'm trying to set up Detox with Expo on Android emulator (Genymotion) but I have an error that I can't go through....I've installed the necessary packages :...

View Article

Image may be NSFW.
Clik here to view.

Button text not aligned center vertically in react native

I am facing one issue with aligning text vertically center for button but it remains slightly lower then exact center. I found includeFontPadding from documentation with suggesting some discrepancies...

View Article


Could not determine the dependencies of task...

I am trying to create a react native apk. I followed all the steps upto the last one which is running cd android && ./gradlew assembleRelease . Now when I run it I get the following...

View Article

adb -s 192.168.1.6:5555 ..... error: more than one device/emulator

I am working with react native, and would like to switch adb to wifi for easier debugging.I connect my device using usb, then type these commands.adb tcpip 5555 Then I disconnect my usb cable and enter...

View Article

onViewableItemsChanged not working in OptimizedFlatList

onViewableItemsChanged working fine in FlatList but due to many performance issues and memory issues, I have used react-native-optimized-flatlist. But onViewableItemsChanged is not working in...

View Article


React Native location permission doesn't work in Android 10 but does work in...

Issue : I'm using the react-native-permissions library in my react native app. The code was working perfectly fine in Android devices with OS 9 or below i.e, when prompted to access the device location...

View Article


How to pass data from background android service to react-native

I am building an react-native app. I have a background android service that receives a push notification. I need to store the notification information(title, description...) on a react-native database...

View Article

npm install expo-cli --global

npm install expo-cli --global npm WARN deprecated joi@14.0.4: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get...

View Article

React-Native/Android err: Could not connect to the development server

I'm new to RN and I've been trying to run this react-native app for days now. After following up the guides provided by the official website, I came to the point where the app creates and builds...

View Article

How to handle a share intent(sending an image) in the expo app?

Is there any way to handle sharing files to expo app? According to the documentation of app.json it's possible to provide intentFilters, but I can't find anything regarding handling them...

View Article


Android : OutOfMemoryError Error while opening InfoWindow on Google maps

I am using native android code in my react-native app to display google maps and having 200+ markers on google maps with clustering and trying to open info window on each marker i tap on. It works fine...

View Article

Image may be NSFW.
Clik here to view.

Expo network response Timed Out, Can't run Expo app on android emulator

I'm trying to run My react-native application, I'm running it on android emulator and my phone HUAWEI Y3II and same thing happens. I was working on it fine a few days ago but suddenly this error keeps...

View Article


How to set ReactNative app as default system app?

Actually, I am working on a ReactNative app like TrueCaller.The problem is how to show the received call in my app instead of the default system UI? Regards

View Article

React-native Android release build broken (UI navigation breaks with out...

I have a react-native app which works correctly in Android debug builds but doesn't work in Android the release builds.The app is using redux, axios and react-navigation:Search input box on the home...

View Article


Android - How to destroy a frame with child views

I have a React Native app with some business logic from the Native side using Android/iOS.I am facing a problem now, where I have to kill an instance of the Camera that we use as a dependency. We...

View Article

Unable to load script from assets index.android.bundle on windows

I'm trying to run my first React Native project for first time on my device (Android 4.2.2).And I get: unable to load script from assets index.android.bundleCommands that I used:cd (project...

View Article

How do we handle navigation when integrating react-native to an existing...

I am trying to integrate a react-native project to existing native projects(android and iOS). What are the different options available for acheiving full navigation from native to JS and vice-versa...

View Article
Browsing all 29445 articles
Browse latest View live


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