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

Image may be NSFW.
Clik here to view.

React Native drag down to open a top to bottom sliding sheet, drawer, modal, etc

A bottom sheet, drawer, etc. (lots of names, I'll be calling it sheet) is used a lot in apps and there are a lot of RN packages for it. I need one top-down, not bottom-up. The video below shows what I...

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


Execution failed for task ':expo-constants:compileDebugJavaWithJavac'....

Task :expo-constants:compileDebugJavaWithJavac FAILED E:\react native\rn-course\node_modules\expo-constants\android\src\main\java\expo\modules\constants\ConstantsService.java:142: error: cannot find...

View Article

Image may be NSFW.
Clik here to view.

Android Staging build flavour trying to connect to React Native packager

I have introduced two product flavors and a new build type. However when I run the Staging variant, it still tries to connect to the React Native Metro bundler. I want Staging to adopt the same steps...

View Article

How to deactivate or disable screen saver in react native application?

I am trying to disable screen saver from the react-native application via android using the below code but it's not working. please suggest some solution.@SuppressLint("InvalidWakeLockTag")...

View Article


Image may be NSFW.
Clik here to view.

react native firebaseURL not found

Upon pushing some data to firebase in react native I get the following error that my firebase database URL is undefined. I am using the android emulator here. Maybe I am missing something I need to...

View Article

Error running react-native run-android: Unexpected Token in build.gradle

What went wrong: Could not compile build file '/Users/nathanael/Code/highst/mobile/android/build.gradle'.startup failed: build file '/../../android/build.gradle': 6: unexpected token: << @ line...

View Article

Image may be NSFW.
Clik here to view.

'gradlew' is not recognized as an internal or external command, operable...

I'm having trouble when building an app to test my react-native app. I've looked up solutions on the internet but to no avail as I have the correct directory...

View Article


Image may be NSFW.
Clik here to view.

How to appear GPS Icon in react-native?

My client wants to appear GPS Icon on the status bar when I open app or screen that's contain Map, So I add function that asks user to allow Location permission and it's work very well and I can get...

View Article


How to disable back button after splash screen in React Native

after I finished loading the splash screen and going to the main page, I pressed it back again to go back to the splash screen ..and the question is how to overcome this, so that after entering the...

View Article

React-Native/metadata.xml giving me a 403 forbidden

I have been running this react-native project on my android device and it has been working without any problems till yesterday.Today when I run react-native run-android I am getting this following...

View Article

Image may be NSFW.
Clik here to view.

How can I change Ticketmaster login Header text in react-native?

I want to change header of ticketmaster login header text . While I am passing displayName as empty string ("") in PresenceSDK , my application is crashing.current text : Sign in with your Office...

View Article

react-native deep linking how to get the latest url [duplicate]

I know that we can get the url that opened that app using Linking.getInitialUrl() and also use Linking.addEventListener('url', handler) to get it when the app is in the background state. Unfortunately,...

View Article


How do I open react-native's dev menu on real device

I have seen already a number of border cases and strange developer interface.From the "shake your device", which is really impractical, specially with a tabletTo working around Android studio to...

View Article

Invariant viloation: Objects are not valid as a React child(found: object...

code is not reading the values of font-weight and font size but perfectly working with the container. how do I fix it?import React, { Component } from 'react' import { StyleSheet, Text, View } from...

View Article


React Native https axios resquest gets Network Error on Android but not iOS

I was building my react native application and using backend URL as http://123.123.123.123:port/ and everything was working fine while in development. but when I built my app and installed it on an...

View Article

Do you need to follow manual linking steps for Android with React Native?

When I'm adding third party components to React Native apps, such as this one, it often says that because of auto-linking, you do not have to follow the manual linking steps. For Android, I notice that...

View Article


Choose which android device (emulator or phone) will react-native run-android...

I am developing a react-native application and every time I want to update the changes to either an actual phone or an emulator, I execute react-native run-android (Sometimes I use the reload...

View Article

RNCamera Error:TypeError:...

[Unhandled promise rejection: TypeError: CameraManager.checkIfRecordAudioPermissionsAreDefined is not a function. (In 'CameraManager.checkIfRecordAudioPermissionsAreDefined()',...

View Article

React native rename error - app keeps stopping

I am using react-native-rename to rename my project. When I build my app I get the error, App keeps stopping.Any ideas how I can solve this?Logcat gives me an error:2020-01-16 10:21:25.792...

View Article
Browsing all 29422 articles
Browse latest View live


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