Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

[Solved] iOS: support for new promoted IAPs in iOS 11

Discussion in 'Unity IAP' started by cbarnes_bnea, Jun 8, 2017.

Thread Status:
Not open for further replies.
  1. cbarnes_bnea

    cbarnes_bnea

    Joined:
    Jul 6, 2015
    Posts:
    3
    Some code changes will be required to support the new promoted in-app purchases of the App Store under iOS 11.

    More info here:
    https://developer.apple.com/app-store/product-page/

    It's of course super early as this was just announced this week at WWDC, but I wanted to see if this was on Unity's roadmap and when we might expect to see it in Unity IAP. We're pretty excited about getting this into our games!
     
    ErayT and L-Op like this.
  2. Benvictus

    Benvictus

    Joined:
    Sep 12, 2013
    Posts:
    87
    @cbarnes_bnea

    This is supported! The only thing you will need to do is make sure that the store is initialized as early as possible when the game is started.
     
    mohmoo likes this.
  3. cbarnes_bnea

    cbarnes_bnea

    Joined:
    Jul 6, 2015
    Posts:
    3
  4. ap-unity

    ap-unity

    Unity Technologies

    Joined:
    Aug 3, 2016
    Posts:
    1,519
    @cbarnes_bnea

    A slight correction. We have not fully implemented the necessary methods, but they should be ready by the time iOS 11 is released.

    But @BenStoneman's suggestion is a good best practice and necessary to make this work correctly.
     
  5. Bruder

    Bruder

    Joined:
    Aug 9, 2014
    Posts:
    56
    Hi @ap-unity, so if i'm using Unity 5.6.2, this is already implemented? i just get a call to 'ProcessPurchase' callback when app starts?
     
  6. ap-unity

    ap-unity

    Unity Technologies

    Joined:
    Aug 3, 2016
    Posts:
    1,519
    @Bruder

    This feature will be available in a future version of the IAP plugin, so it will work in all version of Unity that support Unity IAP.

    We have no release date set for that version, but it will be available by the time iOS 11 is released.
     
  7. Bruder

    Bruder

    Joined:
    Aug 9, 2014
    Posts:
    56
    Thanks @ap-unity , waiting for the update.
     
  8. ap-unity

    ap-unity

    Unity Technologies

    Joined:
    Aug 3, 2016
    Posts:
    1,519
    @Bruder

    Version 1.13.0 of the IAP plugin was released recently and it supports the new iOS 11 features:
     
    ErayT and ilmario like this.
Thread Status:
Not open for further replies.