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

React Native: Way to restart apps in users devices remotely without injecting...

I have a React Native app.I realized I didn't inject any code to restart app in certain condition(e.g. when update detected, force restart, reload)Is there anyway to apply updates to apps in users...

View Article


React Native build failed in android,...

I've upgraded my ReactNative project from 0.59 to 0.61.2 iOS is building fine but in android i'm facing the issue in @react-native-community/cli-platform-android module.My settings.gradle fileapply...

View Article


react native 0.60 cant download gradle5.4.1-all

i have new react native project with version 0.60 when i try to run the program try to Download https://services.gradle.org/distributions/gradle-5.4.1-all.zip and result is error.error:ERROR: Unable to...

View Article

React-native/Android Studio: Error:No such property: GradleVersion for class:...

I am trying to setup environment for react-native. I have made project using react-native-cli and opened the android directory in Android studio. But stuck in the following error. I have tried...

View Article

Image may be NSFW.
Clik here to view.

View moves out of the screen when Text Input is focused used on Bottom Sheet...

I'm using the library - https://github.com/osdnk/react-native-reanimated-bottom-sheetI'm using a TextInput on this bottom sheet. And now when the Text Input is focused or typed in, the bottom sheet...

View Article


React Native Android Violation of Interfering with Apps, Third-party Ads, or...

I have an android app created by react nativeexpo. The app has 1 admob interstitial ads.I have updated my app and published to play store and got rejected because of Android Violation of Interfering...

View Article

react-native run-android is unrecognized

I've installed react-native-cli globally: npm install -g react-native-cliThen run: react-native init AwesomeProjectcd AwesomeProjectI got the following structure: -- AwesomeProject ---- node_modules...

View Article

Image may be NSFW.
Clik here to view.

expo stuck at expo build:android -t app-bundle - react native

I’ve run “expo build:android -t app-bundle” for generating android apk file using command prompt. But, process is hanging by showing “building ios bundle”(I waited for more than 2 hours)Please see...

View Article


Is it possible to launch React Native app by hardware button?

I know that we can launch an Android app by hardware button as in this question:Launch an android app by a hardware buttonHow about with React native app running on Android device, can we make it happen ?

View Article


react native upload image to api got network error

hello i am trying to upload image to api using form-data but i am getting Network error why i am getting this error i try to put image type manually but still not working from post man it work without...

View Article

react native gesture handler is not working with modal in Android

I am having an issue in using PanGestureHandler from react-native-gesture-handler with Modal. This is perfectly working in iOS but not in android. And Moreover when I changed Modal in to View component...

View Article

How to run a function when app goes to background or died and stop it when...

I want to fetchdata from server when my app closed (in background || died) and stop fetching when it again opened.So I need to call a function right after app goes to backgroundstate or even force...

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


React-Native Checkbox can't be unchecked

I have a CheckBox in my react-native application. When pressed, it can activate. However when pressed again, it doesn't uncheck itself. What am I doing wrong?export default class MyClass extends...

View Article

groovy.lang.MissingPropertyException: Could not get unknown property...

After upgrading my app from RN 0.42 to RN 0.59.10 this issue came up, unable to build my project.FAILURE: Build failed with an exception.* What went wrong:A problem occurred configuring project...

View Article


Expo Push Notifications: "Error: Couldn't get GCM token on device."

I'm trying to receive push notifications with my Expo app, but at this line, the mentioned error is thrown:token = await Notifications.getExpoPushTokenAsync();I already tried:setting up a FireBase...

View Article

How can I make a geology gamma-ray chart in React Native?

I want to plot a chart like which is shown in this...

View Article


mapbox gl - Pbf layer not working in android

I m using react native mapbox gl and added pbf tile like : <MapboxGL.VectorSource id="idTestSoruce" tms={true}...

View Article

Update Async Storage when app is in background or swiped out React Native

I have a scenario in my React Native app where I have to store notifcations into my local storage. I am using react-native-storage library. When I receive the notification when app is in foreground I...

View Article

Modal with transparent background in react-native

How to implement a modal in App.js with background transparent.(It should show android screen in background rather than white background)

View Article
Browsing all 29508 articles
Browse latest View live


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