Windows应用商店中的LoadListingInformationAsync Api异常。 [英] Exception with LoadListingInformationAsync Api in windows store app.

查看:71
本文介绍了Windows应用商店中的LoadListingInformationAsync Api异常。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

我的城域应用程序正在商店中,当我尝试使用api CurrentApp.LoadListingInformationAsync()获取列表信息时,我遇到异常。

My metro app is on store and while I am trying to get the listing information using api CurrentApp.LoadListingInformationAsync(), I am getting below exception.

{System.ArgumentException:价值不在预期范围内。

   在Windows.ApplicationModel.Store.CurrentApp.LoadListingInformationAsync()

{System.ArgumentException: Value does not fall within the expected range.
    at Windows.ApplicationModel.Store.CurrentApp.LoadListingInformationAsync()

我已经提交了两次我的应用来验证这一点,但仍然得到相同的例外。

I have submitted my app two times to verify this but still getting same exception.

我们的应用程序中的一个要求是确定Windows应用商店中是否有更新版本的应用程序,并将该信息提供给用户以便他们可以升级。我们的应用不会使用任何应用内购买,因此该应用没有关联的
许可信息。我们只需调用Windows.ApplicationModel.Store.CurrentApp.LoadListingInformationAsync(),然后使用它来读取应用程序描述,因为我们的应用程序描述包含应用程序版本信息(我们找不到任何其他方法
来检索最新版本号Windows应用商店中的应用 - 如果有的话,我们当然可以利用它。我们了解Windows.ApplicationModel.Store.CurrentApp.LoadListingInformationAsync()API仅适用于Windows应用商店中的已发布应用。
因此,为了帮助调试,我们添加了示例日志并添加了关于使用此API的异常处理。即我们不是在本地构建的应用程序上调试此调用,而是在从Windows应用商店下载
的应用程序中成功调用此API时进行记录。但是,日志显示此API仍然失败。我们最近甚至重新提交了该应用程序,因为该主题的其他一些主题建议Windows Store使用此API存在一些问题,建议重新提交
应用程序。我们做到了,但即使最新版本的应用程序,此API仍然失败。在这一点上,我们不知道可能出现的问题。

One of the requirements in our app is to determine if a newer version of the app is available in the Windows Store and provide that information to the user so that they can upgrade. Our app does not make use of any in-app purchases so there is no associated licensing information for the app. We simply call Windows.ApplicationModel.Store.CurrentApp.LoadListingInformationAsync() and then use that to read the App description as our app description contains app version information (we could not find any other means to retrieve version number of the latest app on the Windows Store - if there is any, we can certainly make use of that). We understand that Windows.ApplicationModel.Store.CurrentApp.LoadListingInformationAsync() API works ONLY in released app on Windows Store. So to help with debugging, we have added sample logs and added exception handling surrounding use of this API. i.e. we are NOT debugging this call on a locally made built of the app, instead are logging if the call to this API is successful in the app downloaded from Windows Store. However, logs show that this API continues to fail. We even re-submitted the app recently as some other threads on this topic suggested that there were some issues with Windows Store surrounding use of this API and it was recommended that app be re-submitted. We did that but even if the latest version of the app, this API continues to fail. We are at a loss at this point as to what may be wrong.

同样,我们的应用程序不会使用任何应用程序内购买,以防万一在某个应用程序中使用此api时出现问题设置任何许可信息。那里有可能的链接吗?商店是否针对没有应用内购买的应用进行了LoadListingInformationAsync()
通话测试?

Again, our app does not make use of any in-app purchases just in case there happens to be some issue in making use of this api by an app that has not setup any licensing info. Is there a possible link there? Has the Store been tested for apps making LoadListingInformationAsync() call that have no in-app purchase?



我们真的需要MS的帮助解决此问题,因为这是最终应用程序发布的门控因素。


We really need some help from MS to resolve this issue as this is a gating factor to make the final app release.

谢谢,

Vipin

推荐答案

Vipin,

Vipin,

我有同样的问题,我肯定在寻找解决方案。如果微软的任何人都能看到并提出建议,那就太好了。 "D"表示"D"。一天即将来临,这不太好。

I have the same issue and am definitely looking for the solution. If anyone from Microsoft could look at that and advise, that would be great. The "D" day is approaching and this is not good.

PV


这篇关于Windows应用商店中的LoadListingInformationAsync Api异常。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆