Search Unity

Question Use UDP and IAP in AppGallery and Play Store

Discussion in 'Unity Distribution Portal (UDP)' started by unity_eGqZV0UGpyeG2Q, Aug 24, 2021.

  1. unity_eGqZV0UGpyeG2Q

    unity_eGqZV0UGpyeG2Q

    Joined:
    Nov 3, 2020
    Posts:
    2
    Hi everyone. I have a doubt.

    I want to create a game that has In-App Purchases and upload it to Huawei AppGallery and Google Play. My doubt is. Can a use the same IAP SDK and upload the game to both stores?. As I understand, I can use UDP IAP for AppGallery but Google Play doesn't use UDP, so I don't know if I can use the same IAP SDK for both stores. In case if it's possible, I suppose the only change that I need (on the code side) for both versions it's using the propper productIds (depending on which store I downloaded the game). There is anymore else to consider?

    Thanks
     
  2. Unity-Boon

    Unity-Boon

    Unity Technologies

    Joined:
    Jan 18, 2017
    Posts:
    135
    You can use Unity IAP SDK for both your Google Play Store build and UDP build. By adding the UDP package into your project, you will have the option for targeting Google Play/UDP build when you export your game.

    Screen Shot 2021-08-26 at 12.15.40 PM.png
     
    DungDajHjep likes this.
  3. unity_eGqZV0UGpyeG2Q

    unity_eGqZV0UGpyeG2Q

    Joined:
    Nov 3, 2020
    Posts:
    2
    Great! Thank you so much