Adding an Android Play Store Keystore using React Native with Expo

Adding an Android Play Store Keystore using React Native with Expo

Tiempo de lectura: 2 minutos Hello, today we are going to learn how we can upload our own signing key to the Android Play Store using Expo. The first thing we have to do is open the Expo credentials manager: expo credentials:manager Once opened, in this case, we select Android: It will ask if we are in the correct directory: … Read more

Generate Android, iOS, and Web Favicon Icons for Flutter – Dart

Generate Android, iOS, and Web Favicon Icons for Flutter – Dart

Tiempo de lectura: 2 minutos I have used flutter_launcher_icons to create the icons for my application. First, add it to your pubspec.yaml file under dev_dependencies and then run flutter pub get flutter_launcher_icons: “^0.13.1” In your pubspec.yaml file, add a flutter_launcher_icons section to configure the icons you want to generate. Specify paths to the image files that will be used as … Read more

Use your own Android device to run apps in development with Android Studio.

Tiempo de lectura: < 1 minuto Reading Time: < 1 minute Use your own Android device to run apps in development with Android Studio. Photo by Noah Erickson on Pexels Did you know that you can use your own mobile device to debug and run apps developed in Android directly with Android Studio? This is very useful if you want to ... Read more

Unable to determine application id: com.android.tools.idea.run.ApkProvisionException: Error loading build artifacts from:

Unable to determine application id: com.android.tools.idea.run.ApkProvisionException: Error loading build artifacts from:

Tiempo de lectura: < 1 minuto Reading time: < 1 minute To solve this error, follow these steps: Go to Android Studio –> File –> Invalidate Caches A window will open. Click on Invalidate and Restart The project will close and reopen. The error will be resolved. I hope this helps. Have a great day! DevCodeLightdevcodelight.com

Change Flutter App Theme from Light to Dark

Tiempo de lectura: < 1 minuto Reading time: < 1 minute First, we need to add the provider dependency inside the pubspec.yaml file. dependencies: flutter: sdk: flutter provider: ^5.0.0 To modify the theme of an application, I’ll show an example below: import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; void main() { runApp( ChangeNotifierProvider( create: (context) => ThemeProvider(), child: MyApp(), ), ); } class ThemeProvider … Read more

Search Bar and Filter in Flutter Dart

Tiempo de lectura: < 1 minuto Reading Time: < 1 minute To create a search bar and filter a list, follow these simple steps: The list of elements we will display and filter is as follows: List<dynamic> tutorsData = [ { “name”: “Maria”, “email”: “example1_devcodelight@email.com”, “phone”: “1234567890” }, { “name”: “Laura”, “email”: “example2_devcodelight@email.com”, “phone”: “1234567890” }, { “name”: “Isma”, “email”: “example3_devcodelight@email.com”, … Read more

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