简体   繁体   中英

Restore and download non-consumable IAP with Urban Airship

I'm trying to implement a restoration process for my IAPs. 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.

Any ideas?

Urban airship is deprecated http://docs.urbanairship.com/reference/iap.html

Try using the Apple IAPs instead.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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