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

Touchable doesn't work with position: absolute

I can't figure out how to make my component touchable. I have one wrapper which has position: relative and two elements with position: absolute. I would like to make this wrapper touchable but it...

View Article


react native secureTextEntry not working on android

I am trying to use react-native secureTextEntry to hide my password and confirm password fields during registration.I'm using custom InputBox component for textInput.below is my code,<InputBox...

View Article


Does react-native-firebase v5.6.0 supports react-native v0.62.0?

I have recently upgraded react native version of my project to 0.62.0 from 0.59.10, the firebase version used in my project is 5.6.0 (react-native-firebase). According to the firebase docs (supported...

View Article

How can I make a link in a nested Text element accessible in React Native?

Problem: I am trying to make a link accessible on both Android and iOS using React Native. iOS has a rotor when using VoiceOver that has an option to switch between links on the screen which does not...

View Article

Image may be NSFW.
Clik here to view.

React Native onLayout nativeEvent.layout.y always returns 0

I'm creating a grid of Views. I'm doing it using pure flex. i.e. no absolute positioning. Actual screenshot:I need to know the positions of each View in the grid and for that I'm using the onLayout...

View Article


Firestore Connect does not work with android notifications

I am currently integrating notifications via FCM into my react native app. On ios everything works as intended. But if I open the android app by clicking on a notification (quit or background state)...

View Article

onReady in React Native

I just have a short question about onReady in React Native. I want to use it like this:<View style={styles.main}><ReelSet ref={(ref) => {this.reelSet = ref;}} onReady={this.onReelsetReady}...

View Article

Use state in different components

I am building a Slots Game and I want to use this.state.credits in different components.Slots.jsexport default class Slots extends Component { static navigationOptions = { headerShown: false };...

View Article


How to prevent displaying Push Notifications when app is open in Android...

I would like to completely disable the display of push notifications when the app is open. I know it is possible to manage the AppState (background / active) in React Native. But I don't know how to...

View Article


How to change the StatusBar color of the splash screen?

I'm using React Native for building my android application and I've followed this tutorial to set up my splash screen. Here is the result. My main problem is that the status bar color changes to black,...

View Article

Яразработалсвоёмобильноеприложениена React Native...

Яразработалсвоёмобильноеприложениена React Native инезнаюкактеперьегопреобразоватьв apk файл. Такиересурсыкак - https://facebook.github.io/react-native/docs/signed-apk-android.htmlвообщенепомогли....

View Article

How does Gradle fit into React Native?

I'm trying to run my React Native app with react-native run-android and am getting the error Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. I've seen this...

View Article

Image may be NSFW.
Clik here to view.

RNFirebase core module was not found natively on android

I am trying to run an existing react native app on android platform and I am getting the error as in the below image. I have already followed all the steps mentioned under...

View Article


Ejecting expo app, breaks run-android build

Navigation package react-native-navigation working fine on unejected expo app. I am just using expo demo as an example.I eject expo app. Try to run-android, I receive the following errors:1: Task...

View Article

Androidx MutliDex: The number of method references in a .dex file cannot...

After migration application from 0.57 => 0.59 I needed to fix some issues for third party packages and now I'm facing dex problem.build.gradle// Top-level build file where you can add configuration...

View Article


error lancement d'une app react native sur android

Bonjour tous le monde, j'ai essayer pas mal de fois de lancer mon application react native sur android ms je rencontre toujour ces erreur la.enter image description here

View Article

How solve this issue in react native

$ npx react-native run-androidinfo Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.Jetifier found 864 file(s) to forward-jetify. Using 4 workers...info...

View Article


react-native-router-flux disabling android back button from going back to...

Using react-native-router-flux, after user was success login, I would like to disable the back button from going back to the login screen.But I can not seem to find a way of getting the current "Scene"...

View Article

Image may be NSFW.
Clik here to view.

TypeError: null is not an object (evaluating...

I have problem with module 'react-navigation-stack' I've written the same code from https://facebook.github.io/react-native/docs/navigation#react-navigation.Platform: Android. OS: ubuntu import {...

View Article

How to set a custom sound in react-native-push-notifications remotely

I have configured remote notifications, and everything is working as expected. Now I want to set a custom sound to my remote notifications. I have tried many ways but these are not working. I am using...

View Article
Browsing all 29580 articles
Browse latest View live