Open manishk-optimus opened 1 week ago
Hi @manishk-optimus. We have added the "s/needs-repro" label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone. See more details about creating repros here: https://github.com/dotnet/maui/blob/main/.github/repro.md
This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.
This issue has been automatically marked as stale because it has been marked as requiring author feedback to reproduce the issue but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.
Description
We use the following method to get the information whether there is an update available on the MS Store.
`public async Task IsAppUpdateAvailableAsync(Version currentVersion)
{
var updates = await global::Windows.Services.Store.StoreContext.GetDefault()
.GetAppAndOptionalStorePackageUpdatesAsync();
}`
Problem is that this method returns a record in a list even when we have sideloaded application with the same version we have in store. It works correctly when app is installed directly from the store.
If I sideload application with higher version than that it is in store, then I dont get an update and it works correctly.
So it looks like the problem is only with sideload of an app version equals the store version. I have not found any way how to get information what version is available on the store.
Steps to Reproduce
No response
Link to public reproduction project repository
No response
Version with bug
9.0.0-rc.2.24503.2
Is this a regression from previous behavior?
Yes, this used to work in Xamarin.Forms
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response