Category "react-native"

React Native KeyboardAvoidingView not working properly after orientation changes

while trying out KeyboardAvoidingView with the Expo Go app and npm create-react-native-app on Android I noticed a weird behaviour after a device rotation. When

Running E2E tests with Detox and Android emulator on mac m1

I have some troubleshoot when running detox e2e tests on Android emulator with my Macbook pro m1 (Apple chipset) I want to know if it's only me or if there is o

How to solve Amplify backend-config.jason does not exist issue

I upgraded Amplify CLI, but I discovered in my amplify/backend/backend-config.json file has disappeared after taking a day to discovered that. Then I have tried

Encrypt Cache.db-wal file

I am building a react native app that fails on iOS penetration testing cause it stores in cache the results of some requests that happen in the app. Is there an

Huawei IAP - product list is empty in react native hms iap

I implemented react-native-hms-iap in my react native project. I configured all the details mentioned in here. Also I can assure that there is no signature issu

"RNGestureHandlerRootView" was not found in the UIManager

I need to fix this error. Invariant Violation: requireNativeComponent: "RNGestureHandlerRootView" was not found in the UIManager. This error is located at: in R

Metro Builder: SyntaxError: Unexpected token = after upgrading to React Native 0.65.1

Today I updated to React Native Version 0.65.1. After that I was unable to Start the Metro Server I am now receiving following error message while building a Re

React Navigation v5: How to navigate using redux thunk/redux saga?

How can I navigate the screen in react-navigation in Redux-Saga and Redux-Thunk? Is it possible to get access to the navigation context in sagas or thunk? For e

Invalid Podfile file unexpected template EOS

i have battling with this error for days now, trying to start up at a new job. Having issues while trying to run pod install on a react native cli project, i ha

Invariant Violation: requireNativeComponent: "BVLinearGradient" was not found in the UIManager

the error above is shown in this import import React from 'react'; import { View, Text, TouchableOpacity, Dimensions, StyleSheet

How to build a REACT Native app automatically using GitLab

I am looking for a way to build the APK of my React Native App automatically using a GitLab pipeline, I can't seem to find a solution on the web that does not u

React Native react-i18next: pass to variable <Text>

I am developing a react native multilingual application. I have the following phrase: "By registering, you agree to user agreement, and privacy policy". Parts o

Axios in React Native doesn't provide Form-Data headers

I'm trying to upload a file via Axios (Version ^0.26.0) in React Native (Version 0.66.4) with the following code: const formData = new FormData(); formData.appe

How to use an absolute path for a local video on the device when using react-native-video?

I'm developing an App that should automatically play a video stored on a specific path of the device (currently, i'm trying to access the DCIM folder) without

Detox/Jest Test suite failed to run TypeError: Class extends value #<Object> is not a constructor or null

I'm trying to integrate some e2e tests into my react native (expo ejected) mobile project. I'm following the instructions found on the detox Getting Started pag

React-native-rn tailwind doesn't generate tailwind.json

I followed all the steps of installing react-native-rn. Everything worked fine at first, but when I moved input.cssto src/css/input.css,it just generates src/cs

Expo AuthSession new window not redirecting on Web

We are using AuthSession.startAsync to initiate an authentication process in our app, which is working fine on iOS and Android. However when we run it the web b

Disable default Expo splash screen

I want to disable the default Expo splash screen and show my custom screen component. I've removed the following code from app.json but still there is a white b

How to set react-native drawer header icon ('Hamburger') to the right side?

I set the drawer right-side, but the hamburger icon, in the screen header, stays default left side, Is there any property to pass through to change position to

How to write android backend code for a React native UI

I have a complete frontend ready in React Native (using Expo) and now I want to write the backend for it in Java. In my project directory, I see an android fold