Search Unity

Function call to get the app's Apple store id.

Discussion in 'iOS and tvOS' started by username132323232, Jun 26, 2019.

  1. username132323232

    username132323232

    Joined:
    Dec 9, 2014
    Posts:
    477
    Is there a function call to get the app's Apple store id that is used to open the app store page as in
    Code (CSharp):
    1. Application.OpenURL("itms-apps://itunes.apple.com/app/idxxxxxxxxx");
    ? It's not
    Code (CSharp):
    1. Application.identifier
    .
     
  2. Neonlyte

    Neonlyte

    Joined:
    Oct 17, 2013
    Posts:
    516
    There isn't. You'll have to bake that URL into your app, and the before you test it you'll have to make your app live in App Store.
    That ID looks like the numeric ID for the app listing in App Store Connect, but I may be wrong.
     
    username132323232 likes this.
  3. breban1

    breban1

    Joined:
    Jun 7, 2016
    Posts:
    194
    username132323232 likes this.
  4. username132323232

    username132323232

    Joined:
    Dec 9, 2014
    Posts:
    477
    So it has to be hardcoded. Thank you all!
     
  5. Shamruk

    Shamruk

    Joined:
    Oct 26, 2014
    Posts:
    1