Set Up Google Firebase in Flutter Project

Set Up Google Firebase in Flutter Project

Tiempo de lectura: 5 minutos Today we are going to learn how we can set up Google Firebase in a Flutter project. The first thing we need to do is create our Firebase project, for that we go to https://firebase.google.com/ And click on Go to Console: Choose Add Project Choose a name for the APP. We can choose whether we … Read more

Adding APP title in different languages for Android / iOS using Flutter

Adding APP title in different languages for Android / iOS using Flutter

Tiempo de lectura: 2 minutos Today we are going to learn how we can set the title of our APP in different languages using Flutter. For Android The first thing we need to do is go to the title of our APP, which is located inside android\app\src\main\AndroidManifest.xml <application android:label=”app_name” Now let’s create a variable that will allow us to change … Read more

Fixing error: Building with plugins requires symlink support. Please enable Developer Mode in your system settings. In Flutter build.

Fixing error: Building with plugins requires symlink support. Please enable Developer Mode in your system settings. In Flutter build.

Tiempo de lectura: < 1 minuto If you encounter the following error message when using the command: flutter build apk or the command: flutter build appbundle It’s due to the lack of support for symbolic links (symlink) on your system. This problem can arise on operating systems that do not have developer support enabled or when Flutter cannot create symbolic links … Read more

Add Ad Consent Message for European Users – AdMob GDPR with Flutter

Add Ad Consent Message for European Users – AdMob GDPR with Flutter

Tiempo de lectura: 2 minutos Today we are going to learn how to implement the mandatory consent message from Google AdMob, which will be requested from European users by the GDPR or GPDR law or Data Protection who want to view the ads of the APP with AdMob. We are going to use the official AdMob package for Flutter (https://developers.google.com/admob/flutter/eu-consent?hl=es-419) … Read more

Recovering a MySQL or MariaDB database without a backup but accessing the mysql folder or directory

Recovering a MySQL or MariaDB database without a backup but accessing the mysql folder or directory

Tiempo de lectura: 2 minutos Today we are going to learn how we can recover a database for which we don’t have a .sql backup copy, but we do have access to its mysql folder or directory. This can happen when the operating system doesn’t boot up, but we still have access to the hard drive. The first thing we … Read more

Adding GDPR European Ad Consent Message with React Native Google Mobile Ads (ADMOB) with Expo

Adding GDPR European Ad Consent Message with React Native Google Mobile Ads (ADMOB) with Expo

Tiempo de lectura: 2 minutos Today we are going to learn how we can add the mandatory ad consent message to comply with GDPR. The first thing we need to do is to have our message set up: https://devcodelight.com/mensaje-consentimiento-conforme-rgpd-para-admob/ NOTE: I am using version 12.2.0 of react-native-google-mobile-ads at least (https://github.com/invertase/react-native-google-mobile-ads) Once configured, let’s go to android/app/proguard-rules.pro and add: -keep class … Read more

Implementing Google Consent for GDPR with React Native

Implementing Google Consent for GDPR with React Native

Tiempo de lectura: 2 minutos Today we are going to learn how we can implement the GDPR consent message with React Native. Let’s install the following library (https://www.npmjs.com/package/@ulangi/react-native-ad-consent) npm install @ulangi/react-native-ad-consent –save Now let’s add this key in info.plist of iOS: <key>GADDelayAppMeasurementInit</key> <true/> Now we open AndroidManifest.xml in case of Android. And add: <meta-data android:name=”com.google.android.gms.ads.DELAY_APP_MEASUREMENT_INIT” android:value=”true”/> <uses-library android:name=”org.apache.http.legacy” android:required=”false”/> And … Read more

Connect a React Native Application to a WebSocket

Connect a React Native Application to a WebSocket

Tiempo de lectura: 2 minutos Today we will learn how to connect our React Native application to a WebSocket using the https://www.npmjs.com/package/react-native-websocket library Setting up React Native Application Create a New React Native Project: Create a new React Native project using react-native-cli: npx react-native init MyReactNativeApp cd MyReactNativeApp Install WebSocket Dependencies: Install the react-native-websocket library to handle WebSocket connections in … Read more

Connect a React Application to a WebSocket

Tiempo de lectura: < 1 minuto Today we’re going to learn how to connect our web application developed with React to a WebSocket. Configuration of the React Application Create a New React Project: Create a new React project using create-react-app: npx create-react-app my-react-app cd my-react-app Install WebSocket Dependency: Install the react-websocket library to handle WebSocket connections in React: npm install –save … Read more

Connect a Flutter Application to a WebSocket

Connect a Flutter Application to a WebSocket

Tiempo de lectura: 2 minutos Today we are going to learn how we can connect a Flutter APP to a WebSocket quickly and simply. Step 1: Flutter Project Setup Create a new Flutter project using the following command in your terminal: flutter create my_app Replace “my_app” with the name you want for your project. We will use the web_socket_channel library: … Read more