Category "react-native"

How to assign key to each Item or value in array in javascript?

I have an array like this: [link1,link2,link3] But I want it like this: [uri:link1,uri:link2,uri:link3] Please guide me over this. Thanks.

React Native Build Error on IOS - typedef redefinition with different types ('uint8_t' (aka 'unsigned char') vs 'enum clockid_t')

After upgrading React Native from 0.61.5 to 0.63.2, Flipper causes an error on IOS as typedef redefinition with different types ('uint8_t' (aka 'unsigned char')

React native webview crashing on Android when attach/selecting a file

I am using react-native-webview v.11 and it works all great unless you try to attach a file using the webview and the Android just crash. I have been looking ev

Buck for react-native

I create a skeleton of the react native project with the standard command npx react-native init NewProject And project directory includes .buckconfig file, lik

Fetch data from multiple pages of an API in react native

I'm trying to get information from a video game API and put it in my list. However, the API is divided in multiple pages (which I don't know how many there are)

How to use google chart in React-Native?

I am trying to use google charts in my react native app. Below is my code: import React, {useState, useEffect} from 'react'; import {StyleSheet, View} from 'rea

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