Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    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:
    50
    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:
    50
    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:
    626
  4. karyll

    karyll

    Joined:
    Apr 4, 2017
    Posts:
    50