Category "react-native"

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

realm.js - Accessing object of type Contact which has been invalidated or deleted with NO stack trace

Would (really) appreciate help on this one. I have a realm listView which navigates away to a detailed view. The detailed view is deleting the entry from the or

Share images to social media using react native

I am developing a react native app. I want to share the selected images which I fetch from firebase storage and listed in the app to social media like WhatsApp.

React Native Pass properties on navigator pop

I'm using NavigatorIOS on my react native app. I want to pass some properties when navigating back to previous route. An example case: I'm in a form page. Aft

Render HTML in React Native

In my React Native app, I am pulling in JSON data that has raw HTML elements like this: <p>This is some text. Let&#8217;s figure out...</p> I'v

Why is my onLoad event for a RN video component not firing?

I'm trying to display an Alert message when the video is done loading, but this event doesn't seem to be firing; I've seen that other people have had similar is

LinearGradient in react-native-svg not working

I am trying to use SVG in my react native project. This is the code for my component: <Svg xmlns="http://www.w3.org/2000/svg" width="100%" height="507" view

Curved view shape in React Native

I wanna replicate the following layout, where there are 2 views (one with white background and the other one with a blue background). The issue is, I can't rep

Add search bar to react-native-maps when using expo

I would like to add a search bar to my maps screen and then use google to find the location associated with the input text and move the map there. This is what