Category "react-native"

React Native Bottom Tab Navigator - Icons not displaying

/* eslint-disable react-native/no-inline-styles */ /* eslint-disable prettier/prettier */ import * as React from 'react'; import Home from '../screens/home'; i

Preventing hardware back button android for React Native

I want to prevent the user from going back to the previous screen. So I added code, but this does not work. Are there any solutions for this? The alert pop up i

How to use horizontal weight meter in react native

I'm making a react native app now. I need to use a horizontal weight scrollbar in the app like the image which I attached. When a user scrolls the horizontal sc

TypeError: undefined is not a function (evaluating 'this.state.list.map')

so I'm trying to push a variable onto an array called list from my state. But it is throwing off this error saying that undefined is not a function. However, wh

MainActivity.java - cannot find symbol reactRootView.setIsFabric(BuildConfig.IS_NEW_ARCHITECTURE_ENABLED)

I've upgraded react-native to latest version (0.68) through react-native CLI, and now every time I'm trying to build for android I get this error: error: cannot

Set Header Height with Safe Area Insets with React Navigation

I can pass screenOptions to the Navigator with a headerStyle object with a height property, but I'd like the height to take into account the SafeAreaInsets and

React Native: How to remove token with AsyncStorage with JWT ?

I am currently storing my React Native token like so using var jwt = require('jsonwebtoken');: AsyncStorage.setItem('token', response.token) And I'm not sur

Why should I use the next-js library in a react-native project

In the react-js project, I understand the benefit of having every page render on the server and not having to download all the pages when only one page is neede

RNCAndroidDropdownPicker was not found in the UIManager

I have installed nativebase version 2.15.2. I am getting following error in android: requireNativeComponent "RNCAndroidDropdownPicker" was not found in the UIMa

How to display count of notifications in toolbar icon in react native

I am wanting to create a react native badge count for my app. I have been searching the last week with out any luck. I am wanting to do something like the image

React-Native Image Height (Full Width)

I have an image that I pull down from a url. I do not know the dimensions of this image ahead of time. How do I style / layout the <Image/> so it is the

ReferencEerror can't find variable:image

import React, {Component} from 'react'; import{ StyleSheet, Text, View, StatusBar } from 'react-native'; export default class Logo extends Component{ render(){

React Native inline styles and performance

Does the following: <Text style={{color: 'blue', fontSize: 30}} /> Have any performance implications compared to: <Text style={styles.blueButton} /

Disable swipe gesture from opening the navigation drawer using react-navigation

I am using react-navigation (https://reactnavigation.org) and I am trying to disable the option that the side drawer opens when the user swipes right/left I`ve

react native vector icons won't show in android device

I used react-native-vector-icons in my react native project and start app with npm start. Icons are displaying normally in iOS, but won't show in android. Thing

React native stuck at loading from localhost : 8081 on physical device using USB debugger

When I run react-native run-android it builds successfully and there after Mobile screen shows nothing more than loading from local host : 8081 I have tried

React Native Download Youtube video

I have tried many examples but all of them are not working. Many blog suggested many things. for example ; add library youtube-video-downloader , add ffbge , ad

timer for a long period problem in react native with firebase [duplicate]

I create function to check if the email and password is exists in firebase and its really works but I got a warning every time Setting a time

Displaying data from Firestore into React Native FlatList did not work

I'm using the React Native FlatList module to show data that is stored in an firestore collection. This data should rendered into an content box with an colored

Disable scroll in View on Expo Web

I am using Expo with react native and just have a plain view with some things inside of it. When I run the code as an expo app on my iPhone the view does not sc