Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

"Promoting In-App Purchases?" [ios 11 beta]

Discussion in 'iOS and tvOS' started by anpShawn, Jul 27, 2017.

  1. anpShawn

    anpShawn

    Joined:
    Oct 1, 2012
    Posts:
    18
    Trying to dig up some info regarding this, as I was prompted by my publisher to look into it:

    https://developer.apple.com/app-store/promoting-in-app-purchases/

    It's a new beta feature in iOS 11 that allows users to start a purchase outside of your app and complete it in-game once loaded. The functionality seems complex, requiring the developer to handle a purchase request at any point in the game's life cycle.

    Just wondering if there's any word on this being integrated into Unity's official IAP implementation.
     
  2. Bruder

    Bruder

    Joined:
    Aug 9, 2014
    Posts:
    56
    I'm also looking for this feature. Unity guys, any news?
     
  3. stevenatunity

    stevenatunity

    Joined:
    Apr 17, 2015
    Posts:
    114
    I think this has been added to the Unity IAP update today :)
     
  4. Bruder

    Bruder

    Joined:
    Aug 9, 2014
    Posts:
    56
    Thanks @stevenatunity!

    Important question about the new feature, i guess that when user buy the promotional iAP we get in the the "ProcessPurchase" callback when app start. But how do we get indication that this item was promotional iAP and not regular iAP (we use the same item id) ?
     
  5. Yaroslav-Gurilev

    Yaroslav-Gurilev

    Joined:
    Feb 16, 2016
    Posts:
    1
  6. Bruder

    Bruder

    Joined:
    Aug 9, 2014
    Posts:
    56
  7. stevenatunity

    stevenatunity

    Joined:
    Apr 17, 2015
    Posts:
    114
    It's in the release notes. Haven't tested it yet :)