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

Getting list of available Wifi's on react native(android)

I want to get the available WiFi networks on my react-native android app. I went through a few blog posts and StackOverflow questions, but I am unable to achieve the desired functionality....

View Article


Will react native work without Google Services on Huawei phone?

Soon new Huawei phones will stop supporting Google Play and Google Mobile Services. Huawei is preparing its own ecosystem called HMS...

View Article


React-Native build in Visual Studio Code unable to connect with remote...

I was building react-native on vscode today and got the same error as the image. I've searched around, but it didn't help much as I only had answers for building in terminal. I want to know the...

View Article

React Native 0.57.1 Android Duplicate Resources

When running ./android/gradlew assembleRelease I get the following error:``` * What went wrong: Execution failed for task...

View Article

Custom font not working in React Native

I want to use a font from google fonts in my app. Here is the font.I have placed the .ttf file in app/fonts. package.json:{ "name": "xxx", "version": "0.0.1", "private": true, "scripts": { "start":...

View Article


Update button is not showing for latest uploaded build on play store

When I make a release build using sh ./gradlew assembleRelease, that is working perfectly on the devices but when I make a .aab file for Play Store, using the command sh ./gradlew bundleRelease and...

View Article

ENOENT: no such file or directory, open...

When I run npx react-native run-android --variant=release in RN 0.61.3 and I receive this error message. ENOENT: no such file or directory, open 'android/app/src/main/assets/index.android.bundle'The...

View Article

Check always location services are enabled or not in React Native (iOS and...

I am working on react native application. There I have to fetch user locations like multiple if user moves/navigates from one place to other. This is working fine, but, If user disables location...

View Article


Expo run on android emulator using windows 10

Can I run android emulator without an android phone? I have installed android studio and I've already installed android virtual device. However, when I try to run it, it gives an error like this...

View Article


Can't find variable DeviceEventEmitter

I am implementing the react-native-push-notification package in react-native.In the example on the link:...

View Article

Image may be NSFW.
Clik here to view.

How to set canOverrideExistingModule=true in React Native for Android Apps?

I built an android app using React Native, it got built successfully but when I run the app in my Android Virtual Device it shows up a full red screen with the following error:I have not done native...

View Article

Application profiling / performance testing

(Note: I want to test it on android)Hi,I have an application in react native and a similar application made with flutter. I want to profile / test it and see cpu usage, check when they drop frames,...

View Article

Image may be NSFW.
Clik here to view.

React Native: error package android.support.annotation does not exist

The error is thrown by Task :react-native-camera:compileGeneralReleaseJavaWithJavac FAILEDThe errors are slightly different but all have that caret pointing to a package that doesn't exist. Around 100...

View Article


Expo react native app restarts on modal open

I'm using Expo SDK 35App works fine on iOS (and previously worked fine on android). Now, whenever I hit a TouchableOpacity that opens a modal (react-native-modal) the app restarts. The TouchableOpacity...

View Article

React Native Android runs in dev but not with release

I get these logs and don't understand what it is I need to do. The app has worked for months testing, now I am finally ready to release and it crashes immediately upon opening! I do not understand...

View Article


Expo React Native - Emulator Debug menu shortcut suddenly stopped working on...

I am developing React Native App using Expo (not ejected) and Android Studio official AVD.I am on Windows.There is shortcut CTRL-M what opens Expo's (React Native's ??) debug menu for app inside...

View Article

Image may be NSFW.
Clik here to view.

React Native android doesn't have utf8

this is my first day on React Native, I try to make an android application.This is impossible for me to use some extra caractere like 'é', 'à', 'ç'...I think this is a problem with utf-8 but I didn't...

View Article


Gradle is Unable to find external library used in a react native-libray I...

I created a react native library that internally used another android library com.github.okraHQ:okra-android-sdk:0.3-alpha (a jitpack library), when I imported this library in my react native library...

View Article

Writing unit test for react-native native android methods

I'm building react-native app which has some native android modules in it. In MainApplication.java,protected List<ReactPackage> getPackages() { return Arrays.<ReactPackage>asList( new...

View Article

android and ios app subscription checking in react native

I'm creating app that is only available on subscription, no free or trial version. In react native, how do I check if the user has a valid active subscription? Is there any api I need to call?On the...

View Article
Browsing all 28468 articles
Browse latest View live


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