A data structure used to synchronize concurrent processes running on different threads. For example, before accessing a non-threadsafe resource, a thread will lock the mutex. This is guaranteed to block the thread until no other thread holds a lock on the mutex and thus enforces exclusive access to the resource. Once the operation is complete, the thread releases the lock, allowing other threads to acquire a lock and access the resource.
So after understanding that, I have created a class that controls the Flutter secure storage.
import 'package:flutter_secure_storage/flutter_secure_storage.dart';/// A data structure used to synchronize concurrent…
Some of you built the app using an older version of flutter, the current version I have is 1.22.6 so latest from version 1 of flutter.
You might already know this but, create a new branch before doing this work :)
This should upgrade your dar-sdk version as well (min version 2.12.0)
/// In case you can't run that command recheck you are using the stable version
flutter channel stable
To upgrade the packages run this:
dart pub outdated --mode=null-safety
If that does not work you can run this command to find out what packages are not null-safe…
The built failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetfier to solve the incompatibility.
Building plugin file_picker…FAILURE: Build failed with an exception.What went wrong:
A problem occurred configuring root project ‘file_picker’.
SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable.
When I was installing the flutter_file_picker and then was trying to build the app I started to get that error described above, so I will describe the process of how I fixed it.
Please note that this is a solution…
AAPT stands for Android Asset Packaging Tool. The Android Asset Packaging Tool (aapt) takes your application resource files, such as the AndroidManifest.xml file and the XML files for your Activities, and compiles them.This is a great tool which help you to view, create, and update your APKs (as well as zip and jar files). It can also compile resources into binary assets. It is the base builder for Android aplications. This tool is a piece of the SDK (and assemble framework) and permits you to see, make, and redesign Zip-perfect chronicles (zip, jolt, apk)
Yes! If you are releasing an…
This is a quick guide for you to set up your dev environment on Visual Studio Code so you can run more than one app at the same time.
First, you can start by selecting the 2 apps you want to have with this setup, in my example, I have app1 and app2 inside the same folder: