How do I get the App Id before publish them ? the id will be used in rate button.
the 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
Check iTunes Connect and Google Play Services (where you setup bundle IDs / Leaderboards / IAP etc). You’ll find the id’s you need here.
Just create the app on their websites. From there you will get the App-ID.
You can create an app without publishing it, also you can’t break anything. So go ahead.
Of course, you will need to copy the right thing, as there is no way to test the link on correctness before publishing it.
Greetings.