latestversionplugin
latestversionplugin copied to clipboard
AppStore only shows option to Uninstall or Open
If this issue is for a new feature, please skip the "Bug" section and fill out the "Feature Request" section at the bottom.
Bug
Plugin Version: 2.1.0 Platform (e.g., Android v21): Android v29 Device/Hardware:
Expected behavior
After checking for a new update (and one is required), then the App Store should give me the option to update.
Actual behavior
After checking for a new update (and one is required), then the App Store only shows me Uninstall and Open options. Is this behaviour expected because I am debugging in Visual Studio?
Steps to reproduce the issue
if (!await CrossLatestVersion.Current.IsUsingLatestVersion())
{
string latestVersionNumber = await CrossLatestVersion.Current.GetLatestVersionNumber();
await DisplayAlertOk("New Version Available", $"A new version is available. Please update to v{latestVersionNumber} now.");
CrossLatestVersion.Current.CountryCode = "gb";
await CrossLatestVersion.Current.OpenAppInStore();
}
Feature Request
Description: