Replacing all Screens in React Navigation

Replacing all Screens in React Navigation

Tiempo de lectura: < 1 minuto Reading time: < 1 minute To replace all screens of React Navigation (@react-navigation/native-stack) and load only one, we need to add the following code: navigation.reset({ index: 0, routes: [{ name: 'Menu' }], }); First, we obtain the navigation hook from a native-stack and apply a reset to it. We specify where we want to start ... Read more

Adding phpMyAdmin to a Visual Studio Code project using Ubuntu console on Windows with WSL/WSL2 for FastAPI

Adding phpMyAdmin to a Visual Studio Code project using Ubuntu console on Windows with WSL/WSL2 for FastAPI

Tiempo de lectura: < 1 minuto Reading time: < 1 minute You must have Ubuntu installed on Windows, a project created in Visual Studio Code, and Python installed beforehand. Here are the following helpful links: Install Ubuntu on Windows Create project in Visual Studio using commands in Ubuntu Install Python3 First, I install XAMPP for Linux: sudo chmod +x xampp-linux-x64-8.1.12-0-installer.run sudo ... Read more

Installation and Configuration of Python and fastAPI for a Project in Visual Studio Code

Installation and Configuration of Python and fastAPI for a Project in Visual Studio Code

Tiempo de lectura: 2 minutos Reading time: 2 minutes You must have Ubuntu installed on Windows and a project created in Visual Studio Code beforehand. Here are the following helpful links: Install Ubuntu on Windows Create project in Visual Studio using commands in Ubuntu In the Visual Studio Code terminal, install Python3 as shown below: sudo apt install python3-pip To … Read more

Create a Project in Visual Studio Code Using Ubuntu Console on Windows with WSL/WSL2 to Use FastAPI.

Create a Project in Visual Studio Code Using Ubuntu Console on Windows with WSL/WSL2 to Use FastAPI.

Tiempo de lectura: 2 minutos Reading time: 2 minutes You must have previously installed Ubuntu on Windows, I’ll leave you the following helpful link: Install Ubuntu on Windows Once we have Ubuntu installed, I’m going to create a folder within home using commands where we will place our project. sudo mkdir proyectoDevCodeLight We modify the permissions to allow us to … Read more

Generar un Build Dev para iOS en React Native con Expo (EAS)

Generar un Build Dev para iOS en React Native con Expo (EAS)

Tiempo de lectura: 4 minutos Reading time: 2 minutes I’m going to show you how to generate a development build for iOS using EAS. First, we need to generate the project as indicated in this tutorial: How to create a development build using Expo EAS with React Native Now, when you reach the step of executing: eas build –profile development … Read more

Fixing error ‘requires setting the development team for each resource bundle target’ when generating dev build for iOS in React Native.

Fixing error ‘requires setting the development team for each resource bundle target’ when generating dev build for iOS in React Native.

Tiempo de lectura: < 1 minuto Reading time: < 1 minute When generating a development build for iOS in React Native, you may encounter the following error: Build failed: Starting from Xcode 14, resource bundles are signed by default, which requires setting the development team for each resource bundle target. To resolve this issue, downgrade to an older Xcode version using ... Read more

Resolve E_IAP_NOT_AVAILABLE Error with react-native-iap in React Native

Resolve E_IAP_NOT_AVAILABLE Error with react-native-iap in React Native

Tiempo de lectura: < 1 minuto Reading time: < 1 minute If you encounter the E_IAP_NOT_AVAILABLE error when initializing the react-native-iap library (in-app purchases), follow these steps to resolve it. This error occurs because the library needs to be installed natively and executed directly on the native development application. To resolve it, simply generate the application with the implemented library natively. ... Read more

Fixing ‘Could not resolve project :react-native-iap’ error when generating dev build with react-native-iap library in React Native for in-app purchases

Fixing ‘Could not resolve project :react-native-iap’ error when generating dev build with react-native-iap library in React Native for in-app purchases

Tiempo de lectura: < 1 minuto Reading Time: 3 minutes To solve the Could not resolve project :react-native-iap error when generating a development build using the react-native-iap library, follow these steps: When generating this build, you can choose to generate it for the Amazon App Store or the Google Play Store. If you don’t select any store, you will encounter the … Read more

Add In-App Purchases (iOS/Android) in React Native

Add In-App Purchases (iOS/Android) in React Native

Tiempo de lectura: 2 minutos Today I’m going to show you how to add in-app purchases (APPPurcharses) to your React Native application. The first thing we’re going to do is install the dependency we’re going to use to add this feature: react-native-iap npm install –save react-native-iap Once installed, we’re going to set up a component for purchases: import React, { … Read more

Generating Android/iOS Native Code Folders in React Native with Expo

Generating Android/iOS Native Code Folders in React Native with Expo

Tiempo de lectura: < 1 minuto Reading Time: < 1 minute I’m going to show you how to generate the Android/iOS folders with Expo in React Native. To generate the folders that contain the native code, we need to specify the following. For Android: expo run:android For iOS: expo run:ios Remember, to generate the iOS folders, you need to have a ... Read more