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 are updating our Terms of Service for all Unity subscription plans, effective October 13, 2022, to create a more streamlined, user-friendly set of terms. Please review them here: unity.com/legal/terms-of-service.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

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:
    57
    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
     
unityunity