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 Partner Store-specific Code?

Discussion in 'Unity Distribution Portal (UDP)' started by karyll, Nov 11, 2020.

  1. karyll

    karyll

    Joined:
    Apr 4, 2017
    Posts:
    44
    Hi,

    I am using Unity IAP to build for both Google Play and UDP.

    How can I write partner store-specific code? I have the simple scenario where I have a "Rate Game" button and when pressed it opens the Google Play page of my game so the user can rate it.

    But if I build for UDP then there are several stores, each having its own link. So I need to update the URL the button opens when clicked according to the respective stores.

    Any help is appreciated.
    Thanks!
     
  2. karyll

    karyll

    Joined:
    Apr 4, 2017
    Posts:
    44
    Nevermind... I came up with the solution to compare to the Application.Identifier (app package name)
     
  3. SamOYUnity3D

    SamOYUnity3D

    Unity Technologies

    Joined:
    May 12, 2019
    Posts:
    460
  4. karyll

    karyll

    Joined:
    Apr 4, 2017
    Posts:
    44
unityunity