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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Android nonConsumable couldn't get restored

Discussion in 'Unity IAP' started by rainbowmimizu, Oct 16, 2020.

  1. rainbowmimizu

    rainbowmimizu

    Joined:
    Sep 19, 2017
    Posts:
    5
    Hello.

    I got a report from a user who couldn't restore nonCousumable item in his 2nd device and ended up buying the same item twice. As my understanding, GooglePlay will automatically recover purchase history if item was set as kProductIDNonCousumable. (And I believe it was working like that for a few years)

    Is this a bug, or should I specifically write something special to recover in current version?(ver 2.0.0)
    Weird thing is, I have another app which is using exact same code(but different productID), that app is working as I expected. nonConsumable item was restored in 2nd device without issue.

    Here is the screen capture of the definition and the multiple purchase history(this app has only one IAP item).
    Thanks,

    upload_2020-10-16_8-7-46.png

    upload_2020-10-16_8-11-15.png
     
  2. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    This is a known issue that we are working on. We plan to use the updated Google billing library in an upcoming IAP release, hopefully available in a few weeks.
     
  3. rainbowmimizu

    rainbowmimizu

    Joined:
    Sep 19, 2017
    Posts:
    5
    Thanks Jeff, good to know Unity is aware of this issue and trying to fix it.
    I'm going to wait for the fixed version to be released.