how to upload flutter desktop application in windows store with the beta version of flutter 2.02. my desktop application is working fine with version 2.02.
created windows build with
flutter build windows
how to upload flutter desktop application in windows store with the beta version of flutter 2.02. my desktop application is working fine with version 2.02.
created windows build with
flutter build windows
At first, you need a paid developer Account: https://developer.microsoft.com/microsoft-store/register/
You get a dev account under $20. (one-time purchases)
Then you build your app with Flutter for Windows and after this step you can use the xsix package to build a xsix file for the Windows Store. You find the documentation for the package here: https://pub.dev/documentation/msix/latest/
Add this package to the dev_dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
msix: ^2.1.1
"If you publish your msix to Windows Store you dont need to sign it, Windows Store does it for you. To generate msix file for Windows Store use the --store flag or add store: true in msix configuration sction in your pubspec.yaml.
Note: the configuration values publisher_display_name, identity_name, msix_version, publisher must be valid, you can find those values in your Windows Store Dashboard > Product > Product identity.
For more information, please see this tutorial: How to publish your MSIX package to the Microsoft Store"
And then use these comments:
flutter clean
flutter build windows
flutter pub run msix:create --store
After this steps you get the msix file for uploading to the Windows Store.
You'll need a Microsoft Partner Center account.
You can use the Flutter msix
package to build the .msix file.
The whole process from building to publishing is described here.