Category "react-native"

Different build variants / flavors for a ReactNative app using Expo

I need to make a react native app which will be used to produce other apps using the same code (changing some logos, colors, a few features depending on the cas

react native android build error (on mac) - unexpected end of file (gradlew)

I am using a mac mini M1 to build a react native app for Android. The app builds fine on my windows computer, but when trying to build on my mac mini I get the

How to get DD-MM-YYYY format date

I'm using Parse database. I store date format. when using console i get this format : Tue Jul 18 2017 15:46:47 GMT+0100 (CET) I want to get this format : 18-0

React Native Release App.apk search metro server

I have created a release of my android application. I have used Android Studio to create it, however, when I install the application it closes automatically. Th

Socket io client keeps disconnecting and reconnecting in react-native app

I'm trying to get socket.io-client set up on my react-native app. I have an existing reactjs/nodejs project that uses socket.io and have not had any issues with

How can I write a jest test if in a component uses a function that is passed through the context?

It is necessary to test the component SlotItem. In it function is transferred through a context this.context.i18n.t("free") My component: import React from 'r

Does useCallback make sense for not memoized components?

During reconciliation react compares trees and gets differences. Does it make sense to decrease those differences by using memoization hooks when components are

React Native: On Android, a button covered by position absolute view can still be tapped

Scenario: I have a red, green and blue box, each having a yellow box touchable inside. Red and blue boxers are siblings. Green box is a child of red box and is

React Native FlatList gets infinity loop onRefresh

I'm trying to fetch data from redux to a FlatList and onRefresh={} gives me an infinity loop. When I don't use redux it works but when I moved my fetching into

Unable to load script. Make sure you're either running a Metro server (run 'react-native start') or that your bundle 'index.android.bundle'

Running my project in android studio I get that error, I just installed everything and I followed everything step by step, I'm using genymotion as an emulator,

how to add custom icon in quill toolbar

I am using quill in my react native app as a text editor. I want to add a custom toolbar icon in the quill toolbar, any solution? my code is: quill.html <!DO

Attempt to invoke virtual method 'boolean abi44_0_0...FabricViewStateManager.hasStateWrapper()' on a null object reference

Attempt to invoke virtual method 'boolean abi44_0_0com.facebook.react.uimanager.FabricViewStateManager.hasStateWrapper()' on a null object reference This was an

react native app crash by adding this line: apply plugin: 'com.google.gms.google-services'

In my react native app i had added firebase , so my root gradle and app gradle is: root build.gradle: buildscript { ext { ... } repositories { google()

React Native Context rendering a blank screen when wrapped inside <Provider>

I'm trying to build a simple blog native app using context and have stumbled upon an issue to which I can't find a root to. Here's the structure of it: /context

VirtualizedList: You have a large list that is slow to update

I use FlatList with large number of items. I get following alert from Expo XDE. VirtualizedList: You have a large list that is slow to update - make sure

Build error integrating Clevertap to a Reactnative Application

I'm trying to integrate clevertap with native react and when I include "use_frameworks!" in cocoa pods to be able to use #import <CleverTapReact / CleverTa

VS code auto code import not working React native

SCREEN SHOT Help Please yarn add @types/react --save-dev yarn add @types/react-native --save-dev I am getting multiple Imports and not getting all Components

Expo Push Notifications - Disable notifications in a specific screen

How can I disable showing notifications in my Expo app when the user is in a specific screen? I am currently designing a chat screen, and I want to disable push

React native sticky notification call like Whatsapp with Agora

Hi everyone I'm using react-native firebase to send notification to users. Also using the Agora for online call.Both works fine. I want to make a sticky notifi

Maintain aspect ratio of image with full width in React Native

I have a query regarding tag. I want an image to take entire width of parent which I do using alignSelf:stretch, but I also want the height to be according to