Flutter Project in VSCode

Flutter Project in VSCode

Tiempo de lectura: 3 minutos Reading Time: 4 minutes Today I’m going to show you how to open a Flutter project in VSCode to work in this environment. First, let’s install the Flutter SDK on our PC: Go to the official website https://docs.flutter.dev/get-started/install/windows Choose the corresponding installation: Next, extract the flutter folder to the directory where you want to install … Read more

Issue: react-native-paper CheckBox not displaying on iOS but works on Android

Issue: react-native-paper CheckBox not displaying on iOS but works on Android

Tiempo de lectura: 2 minutos Reading time: 2 minutes When implementing a checkbox from the React Native Paper library Checkbox React Native Paper on Android, the element appears correctly, but on iOS, the checkbox box is not displayed: iOS Display: Android Display: If we look at the documentation (Checkbox React Native Paper), it indicates that the boxes appear on Android, … Read more

Fixing ‘cannot be tested at this time because the build does not have’ error when uploading build to Apple App Store (iOS) with React Native and Expo

Tiempo de lectura: < 1 minuto Reading time: < 1 minute If you encounter the following error when adding your app to the Apple App Store: Version 1.0.0 (1.0.0) cannot be tested at this time because the build does not have associated export compliance documentation. Once approved, you can come back and select export compliance documentation for this build. Submit New ... Read more

Get and Display the Version of Our Application in React Native

Get and Display the Version of Our Application in React Native

Tiempo de lectura: 2 minutos Reading time: 2 minutes Photo by Luca Bravo on Unsplash Good afternoon everyone, In today’s tutorial, I will show you how to retrieve the version of our app and display it wherever we want in our React Native application. Here’s how: import React from “react”; import { View, TouchableOpacity} from “react-native”; import SurfaceText from ‘../componentes/SurfaceText’; … Read more

Fixing error ‘Could not find method compile() for arguments [com.facebook.react:react-native:X]’ when creating APK in React Native

Fixing error ‘Could not find method compile() for arguments [com.facebook.react:react-native:X]’ when creating APK in React Native

Tiempo de lectura: < 1 minuto Reading time: < 1 minute If you encounter the following error when generating the APK: Could not find method compile() for arguments [com.facebook.react:react-native:X] The first thing to do is to locate the error being produced. In this case, it indicates that the compile method is not found in the react-native-locale library. This is indicated here: ... Read more

Adding Status Bar Margin in React Native

Adding Status Bar Margin in React Native

Tiempo de lectura: < 1 minuto Reading time: < 1 minute If we hide the nav header (headerShown: false) in React Native, we may encounter this issue: The content appears below the status bar and is not properly visible with the clock, battery status, and other widgets on the screen. To solve this problem, follow these steps: First, import Platform and ... Read more

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

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

Force Screen Refresh on Screen Change with React Navigation in React Native

Force Screen Refresh on Screen Change with React Navigation 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

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