Windows 10 IAP未在UWP中显示
我一直在努力在我的UWP中启用IAP,但是,它在使用XML文件的开发模式(开发模式)下运行良好,但它没有出现在生产环境(windows应用商店)中。我在生产中没有出错。 我使用下面的代码显示所有IAPWindows 10 IAP未在UWP中显示,windows-10,windows-10-mobile,windows-10-universal,Windows 10,Windows 10 Mobile,Windows 10 Universal,我一直在努力在我的UWP中启用IAP,但是,它在使用XML文件的开发模式(开发模式)下运行良好,但它没有出现在生产环境(windows应用商店)中。我在生产中没有出错。 我使用下面的代码显示所有IAP try { ListingInformation listings = await CurrentApp.LoadListingInformationAsync(); lstDonation.ItemsSource = listing
try
{
ListingInformation listings = await CurrentApp.LoadListingInformationAsync();
lstDonation.ItemsSource = listings.ProductListings.Values;
}
catch (Exception ex)
{
QuranLibrary.MessageService.showMessage(string.Format("Error Occured:
{0}", ex.Message), QuranLibrary.MessageType.Error);
}
我不明白,为什么它没有出现
谢谢 过了几天,它就出现了 对我来说,差不多花了一个星期,很高兴知道。我目前正在尝试将IAP添加到我自己的应用程序中,但它们在StoreProductQueryResult的枚举过程中没有显示,尽管它们的状态显示它们已发布并在商店中。我猜你必须定期检查,直到加载项真正“发布”并在整个存储中复制。