Reputation: 699
How do I get the App Id
before publish them ? the id will be used in rate button?
Please find the below code:
public void RateGame(){
#if UNITY_ANDROID
Application.OpenURL("market://details?id=APP_ID");
#elif UNITY_IPHONE
Application.OpenURL("itms-apps://itunes.apple.com/app/idAPP_ID");
#endif
}
the real App Id will be inserted on APP_ID
Upvotes: 0
Views: 82
Reputation: 6608
For iOS:
You can find the AppID
once you create your Project in iTunes Connect, you find this on the first page.
(source: apple.com)
So you can change your code and then upload the app.
Upvotes: 1