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

How to call ASP.NET MVC Web API from React Native Mobile App using localhost

I built WEB Api with ASP.NET MVC. I can access the API with fetch from JavaScript in my browser. But when I try to access the API from React Native App, I get a warning: "Possible Unhandled Promise...

View Article


How to access build variant ( android ) in react native code

I have made a new releaseStaging build variant in android code as shown below: buildTypes { debug { } releaseStaging { initWith release applicationIdSuffix ".releasestaging" matchingFallbacks =...

View Article


Image may be NSFW.
Clik here to view.

Expo Vector Icons Not Displaying

I have a detached Expo project that utilizes @expo/vector-icons, but it is not loading the vector icons on the release build variant.In debug the vector icons display properly (see picture below), but...

View Article

How do I manage to run my react-native app?

I am trying to run with react-native run-android but I cant manage to make it run. instantly get some errors.tried: $ react-native run-android --variant[productFlavorName][debug/release] $ ./gradlew...

View Article

React Native Push Notification works on debug but on release - android

I see there is an open issue for react-native-push-notification. Just wondering if anyone faced this issue. I have tested my react native app when developing for android 8 and android 9. Push...

View Article


When we allow usesCleartextTraffic property in android, auto refresh is not...

After android version 9 Pie, we need to use usesCleartextTraffic property for network security purposes, but when I am using this property with react native auto-refresh is not happening....

View Article

React-Native: Hermes is not enabled

I am trying to enable Hermes in a new project but despite I have enabled it in android/app/build.gradle it is not enabled. I am not able to see Engine: Hermes text in app as described in documentation....

View Article

React Native (with expo) fetch with FormData Network error on Android only

When i try to do a fetch API call in POST with React native (expo SDK 37) using fetch and FormData, everything works perfectly on IOS but it makes a Network error on Android: [TypeError: Network...

View Article


Hook into events from other apps, such as posting of images, or comments etc

I'm looking to create a mobile app that aggregates information from other apps. For example, every time someone posts an image, comment, post etc using other apps on their mobile like Facebook,...

View Article


how to use a new upload key from google play developer support to create a...

I use Android Studio to build signed bundle / APK .recently i changed my pc so i lost the old key and i request a new key from google developer support.I sent them a new upload_certificate.pem and the...

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.Currently I am using Samsung J6 for the app.Here are the logs by...

View Article

React Native + Android native module: HMRClient is not a registered callable...

I'm developing a native module for ReactNative. Right now I'm toying with the native code part.I have created the module with create-react-native-module script. I'm systematically getting the following...

View Article

Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081

MacBook-Air mlaapp % npx react-native run-androidwarn The following packages use deprecated "rnpm" config that will stop working from next release: - react-native-video:...

View Article


Ubuntu, can not start react-native: Could not find tools.jar

I followed the getting started guide Android/Linux.I try to start react native under ubuntu using react-native run-android, but it fails with the error:FAILURE: Build failed with an exception. * What...

View Article

React native switch screen one component to another on button press

I am new in react native, making a basic app that will find no of cases of corona in every country so i have made 2 component both on separate file. how to switch from child to child component ?Now i...

View Article


React Native: Determine number of lines of Text component

As the title says, I've been trying to find a way to determine the number of lines the text component AFTER it has been given text. Look at my example below.<Text> Lorem ipsum dolor sit amet,...

View Article

npx react-native run-android: E/Device: Error during Sync: EOF

I am trying to run react native app to my real android device.I checked my device before runningadb devicesList of devices attached3357425441473098 deviceI started withnpx react-native startand in...

View Article


Image may be NSFW.
Clik here to view.

Not able to setup React native project on windows

Hi I have followed the official documentation for setting up the React native project on windows.I have added the ANDROID_HOME variable as system variable at location...

View Article

React Native axios adding http proxy configurations

I'm adding proxy configuration to my axios instanceconst instance = axios.create({ baseURL: 'https://example.com', proxy: { host: 'http://10.X.X.X', port: 80 } })However it's not working, any...

View Article

Programmatically Restart a React Native App

Is it possible to programmatically restart a React Native app without writing any native code? For instance, I know from the answer to this question that I can restart an Android app with:Intent i =...

View Article
Browsing all 29601 articles
Browse latest View live


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