Customize Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorized as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customized advertisements based on the pages you visited previously and to analyze the effectiveness of the ad campaigns.

No cookies to display.

Play YouTube Videos without YouTube API (No API Key) in React Native

Play YouTube Videos without YouTube API (No API Key) in React Native

Tiempo de lectura: 2 minutos Reading time: 2 minutes I’m going to show you how we can play YouTube videos without using the YouTube library for React Native. This way, you won’t have to add an API Key to play videos. First of all, we need to create a Screen with a WebView. To do this, we first install WebView: … Read more

0

Force Refresh (Reload) Screen on Screen Change with React Navigation Tab in React Native

Force Refresh (Reload) Screen on Screen Change with React Navigation Tab in React Native

Tiempo de lectura: < 1 minuto Reading time: < 1 minute If we want to force a screen to reload when it changes or is opened again in React Native, follow these steps: In our screen stack, add the following property: options={{unmountOnBlur: true}} By adding this property, unmountOnBlur will unmount the component and remount it every time we open it, ensuring … Read more

0

Issue with Uppercase HTTP Headers and Axios in React Native

Issue with Uppercase HTTP Headers and Axios in React Native

Tiempo de lectura: < 1 minuto Reading time: < 1 minute When using axios and attaching a header, like in the following example: const config = { headers: { "Content-Type": "application/x-www-form-urlencoded", "TOKEN-AUTH": token } }; We need to be careful with headers that have uppercase letters because axios automatically converts them to lowercase. If our backend server expects to receive the ... Read more

0

Refreshing a FlatList in React Native

Refreshing a FlatList in React Native

Tiempo de lectura: < 1 minuto Reading time: < 1 minute If we remove or add a new item to a FlatList in React Native, we need to follow these steps: First, we need to create a boolean state: const [refreshing, setRefreshing] = React.useState(false); Then, we assign it to the FlatList using the extraData attribute: <FlatList data={itemList} extraData={refreshing} renderItem={({ item }) ... Read more

0

How to Send a POST Request with Axios in React Native

How to Send a POST Request with Axios in React Native

Tiempo de lectura: < 1 minuto In today’s article, I will show you how to send a POST request using URLSearchParams and the Axios library in React Native/Expo. In previous articles, I taught you how to make a GET request in React Native with Axios and how to perform a POST request with Axios in React Native. To begin, you need … Read more

0

Making a GET Request in React Native with Axios.

Making a GET Request in React Native with Axios.

Tiempo de lectura: < 1 minuto Reading time: < 1 minute If you want to make an asynchronous GET (ajax) call with React Native, you can’t use jQuery in this environment. Instead, you need to use Axios https://axios-http.com/es/ First, you need to install the dependency by running the following command in the console: expo install axios Once installed, you can create ... Read more

0

Show and hide database tables in phpmyadmin

Show and hide database tables in phpmyadmin

Tiempo de lectura: 2 minutos Reading time: 2 minutes Good afternoon, everyone, We continue with JavaScript tutorials. Today, I’m going to show you how to make an AJAX call in JavaScript to access data from an XML file. You might be wondering, what is AJAX? In a quick, clear, and concise manner, AJAX is a web development technique that allows … Read more

0

Adding a Loader in React Native

Tiempo de lectura: 3 minutos Reading time: 2 minutes I’m going to show you how to add a loader for loading screens in React Native. To begin, we need to create a new component called Loader.js import React, { useState } from “react”; import { View, StyleSheet } from “react-native”; import { ActivityIndicator } from ‘react-native-paper’; var setMostrarLoader; const Loader … Read more

0

Open Stack.Tab from a Stack.Screen contained within a tab with different NavigationContainers in React Native.

Tiempo de lectura: 2 minutos Reading time: 3 minutes I’m going to explain how to open another tab within a screen (outside the tab but within the execution stack) that already has content in our tab. For example, we have the following screen and we want to perform the navigation shown in the video: And we want to open the … Read more

0