yeniel / version_migration Goto Github PK
View Code? Open in Web Editor NEWManages functions of code that need to run once on version updates in Flutter apps.
License: BSD 3-Clause "New" or "Revised" License
Manages functions of code that need to run once on version updates in Flutter apps.
License: BSD 3-Clause "New" or "Revised" License
โI'd like to know why updateFuntion in applicationUpdate doesn't do await.
https://github.com/yeniel/version_migration/blob/master/lib/version_migration.dart#L34
In my opinion.
Since the migrationFunction in migrateToVersion is await,
I think applicationUpdate should be await as well.
https://github.com/yeniel/version_migration/blob/master/lib/version_migration.dart#L20
Because I need to use await in updateFunction.๐๐โโ๏ธ
This package is still using package_info_plus: 4.2.0
(released in Oct 15, 2023), and its preventing its update.
When trying to update to package_info_plus: 8.0.0
, I receive the following error:
Resolving dependencies...
Because version_migration >=2.0.8 depends on package_info_plus ^4.1.0 and <my_app> depends on package_info_plus 8.0.0, version_migration >=2.0.8 is forbidden.
So, because <my_app> depends on version_migration 2.0.8, version solving failed.
You can try one of the following suggestions to make the pubspec resolve:
* Consider downgrading your constraint on version_migration: flutter pub add version_migration:^2.0.3
* Consider downgrading your constraint on package_info_plus: flutter pub add package_info_plus:^4.2.0
exit code 1
Downgrading is not an acceptable solution.
Can you please update the package dependency?
As I'm writing, version_migration
has the following dependencies that can be updated:
I cannot update package_info_plus
because of this.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.