plus_plugins icon indicating copy to clipboard operation
plus_plugins copied to clipboard

PackageInfo.version does not work with windows desktop

Open jamolina2021 opened this issue 3 years ago • 6 comments

Hi,

PackageInfo.version does not work with windows desktop In the pubspec.yaml file version is 1.5.0 version: 1.5.0 When I run the web application everything works fine.

   PackageInfo packageInfo = await PackageInfo.fromPlatform ();
   Config.version = packageInfo.version;

packageInfo.version returns 1.5.0 However when I run the windows desktop application packageInfo.version returns 1.0.0

Thank you very much for the help.

Regards, Jose A.Molina

jamolina2021 avatar Sep 10 '21 08:09 jamolina2021

Captura de tela 2021-09-16 090202 Captura de tela 2021-09-16 090225

fabio21 avatar Sep 16 '21 12:09 fabio21

Any updates for this one?

florian-lefebvre avatar Oct 18 '21 18:10 florian-lefebvre

Captura de tela 2021-09-16 090202 Captura de tela 2021-09-16 090225

This entails modifying the value separately from that of the one in the yaml file.

noga-dev avatar Nov 22 '21 03:11 noga-dev

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days

github-actions[bot] avatar May 31 '22 15:05 github-actions[bot]

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days

github-actions[bot] avatar Sep 07 '22 00:09 github-actions[bot]

This should be possible to implement now with the windows changes

ollyde avatar Sep 07 '22 07:09 ollyde

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days

github-actions[bot] avatar Dec 07 '22 01:12 github-actions[bot]