您好
我正在使用 CurrentAppSimulator
I'm testing unfulfilled purchases in my app usingCurrentAppSimulator
然而 CurrentAppSimulator.GetProductReceiptAsync 抛出"方法或操作未实现"。这只发生在CurrentAppSimulator中还是发生在CurrentApp.GetProductReceiptAsync中?
However CurrentAppSimulator.GetProductReceiptAsync throws "The method or operation is not implemented". Does this only occur in CurrentAppSimulator or also in CurrentApp.GetProductReceiptAsync?
我打算如何测试未完成的购买?
How am I suppose to testunfulfilled purchases?
谢谢
Gavin
推荐答案
FishInPond ,
HiFishInPond,
我测试了项目中的CurrentAppSimulator.GetProductReceiptAsync方法,我无法重现您的问题。
I test theCurrentAppSimulator.GetProductReceiptAsync method in my project that I can not reproduce your issue.
>>这是否只会发生在CurrentAppSimulator中还是在CurrentApp.GetProductReceiptAsync中?
>>Does this only occur in CurrentAppSimulator or also in CurrentApp.GetProductReceiptAsync?
如果您没有将应用程序提交到商店,我们应该可以使用CurrentAppSimulator来测试应用内购买。如果您将应用程序提交到商店,我们应该可以使用CurrentApp来替换CurrentAppSimulator。
If you do no submit your app to the store, we should able to useCurrentAppSimulator to test the In-app purchases. If you submit your app to the store, we should able to use theCurrentApp to replace theCurrentAppSimulator.
请您分享一个简单的转载项目,它将帮助我们分析和更清楚地诊断这个问题。
Would you please share us a simple reproduced project, it will help us analyze and diagnose this issue more clearly.
最好的问候,
Jayden Gu
Jayden Gu
更多推荐
[UWP] [C#] CurrentAppSimulator.GetProductReceiptAsync throws方法或操作未实现
发布评论