Skip to content

Commit

Permalink
Update AndroidSettings.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
HarshitCybernetyx authored Mar 8, 2024
1 parent a60befa commit fdef1b5
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ public static void Apply(Dictionary<string, string> options)
{
PlayerSettings.Android.useCustomKeystore = true;
PlayerSettings.Android.keystoreName = keystoreName;
Console.WriteLine("keystore name provided with keystoreName" + keystoreName);
UnityEngine.Debug.Log("keystore name provided with keystoreName" + keystoreName);
}
else
{
Console.WriteLine("No keystore name provided");
UnityEngine.Debug.Log("No keystore name provided");
}
#endif
// Can't use out variable declaration as Unity 2018 doesn't support it
string keystorePass;
if (options.TryGetValue("androidKeystorePass", out keystorePass) && !string.IsNullOrEmpty(keystorePass))
PlayerSettings.Android.keystorePass = keystorePass;
Console.WriteLine("No keystore pass provided with " + keystorePass);
UnityEngine.Debug.Log("No keystore pass provided with " + keystorePass);

string keyaliasName;
if (options.TryGetValue("androidKeyaliasName", out keyaliasName) && !string.IsNullOrEmpty(keyaliasName))
Expand Down

0 comments on commit fdef1b5

Please sign in to comment.