Version: 2022.2
LanguageEnglish
  • C#

PlayerSettings.Android.keystoreName

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Switch to Manual
public static string keystoreName;

Description

Android keystore name.

To set the keystore name, you can specify an absolute path, or a relative path to your Unity project's location. If you provide a relative path or an absolute path to the file inside of the project, Unity stores it as a relative path to the project. If you provide an absolute path to the dedicated keystore location Unity stores it as a relative path to the dedicated location. All other absolute paths are stored as is.

When reading the value, this returns exactly what Unity stores internally. If the keystore is stored in the Unity project, or a dedicated keystore location, a relative path is returned. This means that there is no way to identify if the path is relative to the Unity project, or dedicated keystore location. This returns an absolute path, if an absolute path is stored in Unity.