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

Cannot set true value for I18nManager.allowRTL

I would like to enable RTL on my iOS project using EXPO.Then I tried to enable likeI18nManager.allowRTL(true); It cannot be set to true.I checked the value by using the following code...

View Article


Is there a way to detect whether the app was opened via push notification?...

I am building react-native application using OneSignal library. When the app is opened via push notification, I want to make some additional steps before all of the app's logic: I don't want to render...

View Article


Understanding android DownloadManager (Status Code = 16)

I'm trying to use the library rn-fetch-blob to download a file from a response from my api. I want to use the android download manager so the user can access the file outside of the app.if (granted ===...

View Article

React Native - TypeError: null is not an object (evaluating' t.preventAutoHide')

I have a problem exporting my application written in React Native to a working apk file.I use gradlew assembleDebug for export, the command itself works and the apk is created in the folder android \...

View Article

stuck with this for last 3 days.What can be the solution?

npm version 6.14.4FAILURE: Build failed with an exception.What went wrong:Could not determine the dependencies of task ':app:preDebugBuild'.Could not resolve all task dependencies for configuration...

View Article


Can't build or install React Native app after installing React Navigation

I've just started building my first React Native app with minimal success. I've built my boilerplate code but now I want to add a separate screen to it. Cue React Navigation. Having tried twice to...

View Article

(React-Native 0.62.0) Getting Unable to find a matching variant of project...

My project was working perfectly but it stops building after upgrading to RN 0.62.0 from RN 0.59.5 (debug build is working fine, it happens only for assembleRelease)I did a bit of google search and...

View Article

React-Native: Go back on android hardware back button pressed

I am trying to add going back on webview when the android backbutton was pressed and I still couldn't manage to make it work.This is my code:<WebView ref={WEBVIEW_REF} source={source}...

View Article


How to get current route name in react-navigation?

I want the name of the current route or screen in react-navigation which I want to use inside if condition to make some changes.

View Article


How to restart react native app after deep linking

I have an app that I want to do payment with deep linking. I have some apis that are called at the start of the app so after getting back from payment I want to start app again this is my linking throw...

View Article

react-native :app:installDebug FAILED

Install APK debug to my device failed.jianglinghuadeMacBook-Pro:hello jianglinghua$ react-native run-androidJS server already running.Building and installing the app on the device (cd android...

View Article

Image may be NSFW.
Clik here to view.

React Native Error: Unable to resolve module `./index` from `` - index.js...

I nearly got React Native working on my Android device. But somehow it fails in the last step because it does not find an index.js file. But that file is located in my project.So when I now run this in...

View Article

3D Animations on View with React Native

I want to implement a flip effect in my React Native app, similar like described here:https://www.codementor.io/reactjs/tutorial/building-a-flipper-using-react-js-and-less-cssMy question is. Can I...

View Article


Stacked TouchableOpacity inside another TouchableOpacity is not clickable

Even though this document (https://facebook.github.io/react-native/docs/gesture-responder-system.html) states, that touch events are passed down to the children and are only consumed by a parent, if...

View Article

Image may be NSFW.
Clik here to view.

React Native - TouchableOpacity not working inside an absolute positioned View

I've got an absolute positioned View that holds 3 TouchableOpacity components and the 3 fail to respond they are just not working at all, what is going wrong here please help me :)Code<View...

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

Error ':expo-permissions:debugCompileClasspath': recyclerview-1.0.0.jar not...

I'm having issues with react-native run android. Here's my build.gradle:// Top-level build file where you can add configuration options common to all sub-projects/modules.buildscript { ext {...

View Article


Make an React Native app to open another app and click a button on that app

I want to make an android app which can open the given app using intent and click a particular button on the app and exit that app.Can someone help me in this function. It has been over 6 months I have...

View Article

How to make Alert work on android/emulator? (react-native)

my package.jsonTrying to run on expo cli with expo start -c. Usual alert() works, but not Alert from react-native{"name": "my-app","version": "0.1.0","private": true,"dependencies":...

View Article

How do I send data from server to an app?

I want to send some data:Database ==> server ==> appI don't know what type of communication to use.Restful api ? Tcp ? or just get request ?App will get the data and display it in form of...

View Article
Browsing all 29452 articles
Browse latest View live


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