Search Unity

Pull metadata from a Subscription Product

Discussion in 'Unity IAP' started by Mese, Oct 29, 2018.

  1. Mese

    Mese

    Joined:
    Dec 13, 2015
    Posts:
    41
    Hi,

    We are experimenting on getting subscription to work on one of our games. (Android)
    I'm kind of new to Subscriptions, it might be a quite nooby question, sorry in advance if it is.

    I have seen how to pull data from an active subscription via SubscriptionManager (like, PurchaseDate, time remaining, its quite clear here! amazing) All cool.

    But how can I pull metadata from a subscription product?
    Products inside IStoreController.products doesn't contain subscription type of information I would like to have to draw a clear UI to our users before subscription, like Free Trial.
    I guess what I'm looking for is some kind of "ProductMetada" for Subscriptions. But I don't find a way to do that.

    Is there a way to get that kind of information?

    Thanks in Advance!
     
    Last edited: Oct 29, 2018
  2. xVergilx

    xVergilx

    Joined:
    Dec 22, 2014
    Posts:
    3,296
    Short answer - you can't.

    Usually this data is built manually into the application.
     
  3. Mese

    Mese

    Joined:
    Dec 13, 2015
    Posts:
    41
    That's what I feared.

    I guess the IAP team might implement this on the future...

    Thanks for the quick response anyway.
     
  4. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446