Crear un contenedor de Expo (EAS) con Docker para generar Build Android para React Native

Crear un contenedor de Expo (EAS) con Docker para generar Build Android para React Native

Tiempo de lectura: 2 minutos Reading time: 3 minutes Hello, today we are going to see how we can create a Docker container that generates Android Builds (APKs) locally using React Native. First, we are going to generate our docker-compose.yml file as follows: version: “3.1” services: react_native_dev: build: context: ./Dockerfile dockerfile: react_native restart: unless-stopped container_name: react_native_dev environment: EXPO_CLI_NO_PROMPT: 1 EXPO_TOKEN: … Read more

UTF-8 Encoding Solution when Receiving Data by Making a GET Request Using Flutter – Dart

UTF-8 Encoding Solution when Receiving Data by Making a GET Request Using Flutter – Dart

Tiempo de lectura: < 1 minuto Reading time: < 1 minute When making a GET request using Flutter and the Dart programming language, I encountered an error while trying to display certain data. The encoding error occurs when receiving information with some characters, and when displaying them in the user interface, they are not shown correctly. To fix the error shown ... Read more

Creating a Simple List in Flutter – Dart

Creating a Simple List in Flutter – Dart

Tiempo de lectura: 3 minutos Reading time: 3 minutes To create an example list where we can add an element, update the list, and also remove elements, follow these steps: First, we create the main Widget that we call from main, where we display the .dart class with the designed view. void main() => runApp(MyApp()); class MyApp extends StatelessWidget { … Read more

Flutter – Structure of an API POST Call

Flutter – Structure of an API POST Call

Tiempo de lectura: < 1 minuto Reading time: < 1 minutes The structure for making a call from Flutter to an API and sending parameters to receive data is as follows: First, we declare and initialize a variable with the API route, in this case, I call it uri: final uri = 'https://name/api/route'; Then, I declare the headers, content-type: final headers ... Read more

Flutter- structure call API -GET

Flutter- structure call API -GET

Tiempo de lectura: < 1 minuto Reading Time: < 1 minute The structure to make an API call and retrieve data in Flutter is as follows: First, declare and initialize a variable with the API endpoint, in this case, I’ll call it `uri`: final uri = ‘https://example.com/api’; Next, declare the headers, specifically the `Content-Type`: final headers = { ‘Content-Type’: ‘application/json’, }; … Read more

Error compiling a Flutter application with API connection

Error compiling a Flutter application with API connection

Tiempo de lectura: < 1 minuto html Copy code Reading time: < 1 minute When trying to run an application that makes an API call from Flutter, the following error occurs: Error: Cannot run with sound null safety, because the following dependenciesdon’t support null safety: package:http package:http_parser To fix this error, I followed these steps: First, in the Android Studio menu … Read more

How to create a Progressive Web App (PWA) or progressive web

How to create a Progressive Web App (PWA) or progressive web

Tiempo de lectura: 2 minutos Reading time: 2 minutes To create a Progressive Web App (PWA) with Service Worker, follow these steps: Create a manifest.json file: This file defines how the application will look and behave on different devices. It includes information such as the application name, application icon, color theme, screen orientation, and more. { “name”: “My PWA App”, … Read more

Internationalization of Flutter Application Using .json Files

Internationalization of Flutter Application Using .json Files

Tiempo de lectura: 3 minutos Reading time: 3 minutes Internationalizing a flutter application is easy by following the following steps as I show below: First, we need to add the necessary dependencies in the pubspec.yaml file: flutter_localizations: sdk: flutter flutter_cupertino_localizations: ^1.0.1 Next, we create the directory structure with the .json files From the root of our project, we create a … Read more

Android vs iOS: Which is the Best Operating System for Your Smartphone?

Android vs iOS: Which is the Best Operating System for Your Smartphone?

Tiempo de lectura: 3 minutos Reading Time: 3 minutes Currently, smartphones are an essential tool in our lives. They allow us to stay connected, work, entertain ourselves, and much more. Two of the most popular operating systems for these devices are Android and iOS. In this article, we will compare both systems and analyze their pros and cons. What is … Read more