Platform
Web
Plugin
package_info_plus
Version
5.0.1
Flutter SDK
3.19.2
Steps to reproduce
- Deploy app to hosting
- Open app in browser
- Bump app version
- Deploy new version to hosting
- Call PackageInfo.fromPlatform() in already running app and check app version in app
- New upcoming version info from hosting is shown instead of the currently running app version
Code Sample
No response
Logs
Flutter Doctor
[√] Flutter (Channel stable, 3.19.2, on Microsoft Windows [Version 10.0.22631.3155], locale et-EE)
• Flutter version 3.19.2 on channel stable at C:\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 7482962148 (13 days ago), 2024-02-27 16:51:22 -0500
• Engine revision 04817c99c9
• Dart version 3.3.0
• DevTools version 2.31.1 09:17
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at C:\Android\SDK
• Platform android-29, build-tools 29.0.3
• ANDROID_HOME = C:\Android\SDK
• Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
• Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop Windows apps (Visual Studio Community 2019 16.11.13)
• Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
• Visual Studio Community 2019 version 16.11.32413.511
• Windows 10 SDK version 10.0.19041.0
[√] Android Studio (version 2022.2)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694)
[√] VS Code (version 1.86.2)
• VS Code at C:\Users\Rainer Paat\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.83.20240201
[√] VS Code (version 1.48.0-insider)
• VS Code at C:\Users\Rainer Paat\AppData\Local\Programs\Microsoft VS Code Insiders
• Flutter extension can be installed from:
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[√] Connected device (3 available)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.22631.3155]
• Chrome (web) • chrome • web-javascript • Google Chrome 122.0.6261.95
• Edge (web) • edge • web-javascript • Microsoft Edge 122.0.2365.66
[√] Network resources
• All expected network resources are available.
• No issues found!
Checklist before submitting a bug
Platform
Web
Plugin
package_info_plus
Version
5.0.1
Flutter SDK
3.19.2
Steps to reproduce
Code Sample
No response
Logs
Flutter Doctor
[√] Flutter (Channel stable, 3.19.2, on Microsoft Windows [Version 10.0.22631.3155], locale et-EE) • Flutter version 3.19.2 on channel stable at C:\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 7482962148 (13 days ago), 2024-02-27 16:51:22 -0500 • Engine revision 04817c99c9 • Dart version 3.3.0 • DevTools version 2.31.1 09:17 [√] Windows Version (Installed version of Windows is version 10 or higher) [√] Android toolchain - develop for Android devices (Android SDK version 29.0.3) • Android SDK at C:\Android\SDK • Platform android-29, build-tools 29.0.3 • ANDROID_HOME = C:\Android\SDK • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694) • All Android licenses accepted. [√] Chrome - develop for the web • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe [√] Visual Studio - develop Windows apps (Visual Studio Community 2019 16.11.13) • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community • Visual Studio Community 2019 version 16.11.32413.511 • Windows 10 SDK version 10.0.19041.0 [√] Android Studio (version 2022.2) • Android Studio at C:\Program Files\Android\Android Studio • Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694) [√] VS Code (version 1.86.2) • VS Code at C:\Users\Rainer Paat\AppData\Local\Programs\Microsoft VS Code • Flutter extension version 3.83.20240201 [√] VS Code (version 1.48.0-insider) • VS Code at C:\Users\Rainer Paat\AppData\Local\Programs\Microsoft VS Code Insiders • Flutter extension can be installed from: https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter [√] Connected device (3 available) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.22631.3155] • Chrome (web) • chrome • web-javascript • Google Chrome 122.0.6261.95 • Edge (web) • edge • web-javascript • Microsoft Edge 122.0.2365.66 [√] Network resources • All expected network resources are available. • No issues found!Checklist before submitting a bug
flutter pub upgradeflutter clean