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

Rebuild and redeploy APK on change in android folder

I'm working on a project that requires a lot of changes to the asset folder for my app (src/main/assets for android). When I make a change to a component in the react native app, the app reloads and...

View Article


React Native usage Headless js application crash

I do everything according to the documentation, but my application crashes. Function triggering when there is a phone call I want to make. I did catch the call with Broadreciver. I did show on the...

View Article


React Native - What is the android alternative to iOS direction property on...

My app supports both LTR and RTL, in specific components (graphs for exapmle are always English) i would like to manually set direction to ltr.It works great on iOS but not on android.Any ideas?

View Article

Admin Panel In Mobile Apps || How to Add and hide from local user || React...

I am web Developer now started Mobile App, when we develop web application we have some restricted routes that use for Administration, we used credentials and goes to admin panel that is completely...

View Article

React-Native change default location of iOS and Android folder

According to the react-native cli documentation we can specify custom configuration based on each platform for RN cli. I want to change the default location of each platform folders so I added my...

View Article


Image may be NSFW.
Clik here to view.

React Native Android get error after updated Android studio plugins...

I'm working on React Native App using Android Studio. Recently Android Studio ask me to make some updates so i click updated for some plugins ofr the IDE.Now when i trie to build i got an error :...

View Article

Expo build ignores the Android Manifest

I am trying to build my react native app with expo build:android -t apk. It produces a functional apk; however, the apk requires some default permissions, although I removed them. It also ignores the...

View Article

React Native contacts: null is not an object

I am working on a React Native app and I need to save a new Contact into the phone. Doing a research I found out that there are 3 libraries which implements that functionality: expo-contacts,...

View Article


Android failed to load JS bundle

I'm trying to run AwesomeProject on my Nexus5 (android 5.1.1).I'm able to build the project and install it on the device. But when I run it, I got a red screen sayingUnable to download JS bundle. Did...

View Article


How do I setup more than one pathPrefix for Androir deep linking in expo?

I'm trying to implement Deep Linking in my Expo-React Native app. I have the following configuration on app.json but I only can open the app with the link containing the pathPrefix /home....

View Article

Can not Resolve React Native Camera MLKit Dependencies

My app builds fine on Android Studio, it runs fine with react-native run-android but when I try to generate the .apk it fails with ./gradlew assembleRelease command. I get the following error.Error...

View Article

Type androidx.appcompat.resources.R$dimen is defined multiple times

We have a React Native app where after upgrading to Android Studio 3.6.1 and Gradle plugin 3.6.1 we are seeing this compilation error:Type androidx.appcompat.resources.R$dimen is defined multiple...

View Article

Could not determine the dependencies of task ':app:lintVitalRelease'

I am new in react native and android development. Currently I want to build an APK but I faced this error.**FAILURE: Build failed with an exception. * What went wrong: Could not determine the...

View Article


Preventing hardware back button android for React Native

I want to prevent the user from going back to the previous screen. So I added code, but this does not work. Are there any solutions for this? The alert pop up is seen but "return false" does not...

View Article

Deprecated Gradle features were used in this build, making it incompatible...

When i installed React Native WebViewAfter installation when i run react-native run-android showing errorTask :app:transformDexArchiveWithDexMergerForDebug FAILEDDeprecated Gradle features were used in...

View Article


java.lang.ClassCastException: androidx.multidex.MultiDexApplication cannot be...

I created an application in React-Native, i imported a native third party component into Android. After importing it and fixing some errors, the application is cleaned and built correctly, but upon...

View Article

Image may be NSFW.
Clik here to view.

EPERM: operation not permitted error in React Native Project

React native is not build my project on cmd. Here is an error when I try to react-native run-android command When I try it on Android Studio, it show second error. How can I fix it ?

View Article


Network request failed on Android device using fetch

I've got error "Network request failed" when using fetch in React Native on Android emulator/real device. The code is below: fetch('http://localhost:3000/response', { method: 'POST', headers: { Accept:...

View Article

React Native api doesn't work on physical Android device (Error: Network Error)

My api doesn't work on physical device Android, I checked other api, they work, only mine does not work. Everything works on the emulator.if I add for debuggGLOBAL.XMLHttpRequest =...

View Article

Is the advice on google developer website enough to secure Android App?

I am developing a financial app with React Native for a start-up company, now I am following the the security advice on google developer website to secure the app. I have heard that Android app is not...

View Article
Browsing all 29423 articles
Browse latest View live


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