简体   繁体   English

使用Urban Airship还原并下载非消耗性IAP

[英]Restore and download non-consumable IAP with Urban Airship

I'm trying to implement a restoration process for my IAPs. 我正在尝试为我的IAP实施恢复过程。 Here's my implementation: 这是我的实现:

    - (IBAction)didPressRestore:(id)sender
    {
        [UAStoreFront restoreAllProducts];
    }

While this does restore the purchases, it doesn't re-download the products. 虽然这确实可以恢复购买,但不会重新下载产品。 I did not write the purchase part of the app, but as far as I understand it, after calling [UAStoreFront purchase:] the product is automatically downloaded. 我没有编写应用程序的购买部分,但是据我了解,在致电[UAStoreFront purchase:] ,产品会自动下载。

Any ideas? 有任何想法吗?

Urban airship is deprecated http://docs.urbanairship.com/reference/iap.html 不推荐使用城市飞艇http://docs.urbanairship.com/reference/iap.html

Try using the Apple IAPs instead. 尝试改用Apple IAP。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM