Search Unity

Help Wanted Partner Store-specific Code?

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

  1. karyll

    karyll

    Joined:
    Apr 4, 2017
    Posts:
    38
    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:
    38
    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:
    388
  4. karyll

    karyll

    Joined:
    Apr 4, 2017
    Posts:
    38
unityunity