Category "react-native"

How to enable expo video sound to play when silent switch is enabled on iPhone on React Native?

So I am trying to have my video play the sound even when the Iphone has its silent switch activated. The docs say to look at the audio docs which I have but am

My audios from firebase realtime database are not playing using touchable opacity in react native after certain iterations/count

I have 29 pronunciations stored in firebase storage and then from there with the help of access token, they're stored in realtime database. In UI, I've touchabl

React-native Android Set only Portrait Mobile Phones Otherwise tablets shows landScape and Portrait

I have a small problem in this case in my app I set default Portrait.But now this time i want show Portrait and landScape in Tabs not only Mobile phone .In mob

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