Search Unity

Question - Check Subscription with trial be used before

Discussion in 'Unity IAP' started by SneakyFoxDev, Oct 31, 2019.

  1. SneakyFoxDev

    SneakyFoxDev

    Joined:
    Aug 3, 2017
    Posts:
    10
    Hi, I stucked with some issue using IAP.

    I have a subsciption at Google Play with trial period that worked at first subscription purchasing. And other purchases will not have a trial period only usual subscription. So my problem is to check "is trial was used or not" and i didn't find any solutions for this problem. Also it will be nice that if player delete app, and reinstall it this trial check will be working.

    So, Is there some way to check is user used trial period on subscription or not?
     
  2. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Unfortunately no, not at this time. We have not found a reliable approach to make this determination from the receipts. You will want instead to track user purchases through an inventory management solution, this is a feature we are considering for a future release. You could use PlayerPrefs, but it is not entirely secure and would not persist purchase information across devices. Many studios use a cloud save feature.