public static async Task <bool> VerifyAppStoreVersion <TDeviceID, TViewPage>(this Prompts <TDeviceID, TViewPage> prompts, string newVersionAvailable, string newVersionUpdateNowOrLater, string yes, string no, CancellationToken token = default) { bool isLatest = await IsLatest().ConfigureAwait(false); if (isLatest) { return(false); } bool update = await prompts.ConfirmAsync(newVersionAvailable, newVersionUpdateNowOrLater, yes, no, token).ConfigureAwait(false); if (!update) { return(false); } await OpenAppInStore().ConfigureAwait(false); return(true); }