Show / Hide Table of Contents

Class OptionKeyStore

Set the signing information for Android (keystore, alias and passwords).

Inheritance
System.Object
Option
OptionContainer
OptionKeyStore
Inherited Members
OptionContainer.Load(String)
OptionContainer.Save()
Option.DEFINE_PREFIX
Option.OPTION_PREFIX
Option.changed
Option.Capabilities
Option.SupportedTargets
Option.IsAvailable(IEnumerable<BuildTarget>)
Option.ShouldIncludeOnlyFeature()
Option.PostprocessScene(Scene, OptionInclusion)
Option.PostprocessOrder
Option.PrepareBuild(BuildPlayerOptions, OptionInclusion)
Option.PostprocessBuild(BuildTarget, String, OptionInclusion)
Option.GetScriptingDefineSymbols(OptionInclusion, HashSet<String>)
Option.Name
Option.Parent
Option.Path
Option.GetPathRecursive(Option)
Option.InvalidatePathRecursive()
Option.ApplyOrder
Option.Apply()
Option.ApplyFromRoot()
Option.Variance
Option.VariantParameter
Option.VariantDefaultParameter
Option.IsDefaultVariant
Option.Variants
Option.AddVariant(String)
Option.GetVariant(String, Boolean)
Option.RemoveVariant(Option)
Option.ClearVariants()
Option.RenumberArrayVariants()
Option.HasChildren
Option.Children
Option.CreateChildren()
Option.GetChild(String)
Option.GetChild<TOption>()
Option.Category
Namespace: sttz.Trimmer.Options
Assembly: Trimmer.dll
Syntax
[Capabilities(OptionCapabilities.ConfiguresBuild)]
public class OptionKeyStore : OptionContainer
Remarks

This Option allows you to set different signing settings per Build Profile.

Additionally, this Options checks if the settings are valid and gives immediate feedback in the inspector.

There are two options for storing passwords:

  • With Keychain: With this setting enabled, passwords are stored using the Keychain class, which in turn uses the Keychain on macOS and DPAPI/EditorPrefs on Windows. Passwords are stored per user and have to be entered only once across projects.
  • Without Keychain: Passwords are stored as plaintext directly in the Build Profile. This allows to check in the keystore together with the project and do remote builds but is only recommended for debug builds, since the key is not protected.

Methods

| Improve this Doc View Source

Configure()

Declaration
protected override void Configure()
Overrides
Option.Configure()
| Improve this Doc View Source

EditGUI()

Declaration
public override bool EditGUI()
Returns
Type Description
System.Boolean
Overrides
OptionContainer.EditGUI()
| Improve this Doc View Source

PreprocessBuild(BuildTarget, String, OptionInclusion)

Declaration
public override void PreprocessBuild(BuildTarget target, string path, OptionInclusion inclusion)
Parameters
Type Name Description
UnityEditor.BuildTarget target
System.String path
OptionInclusion inclusion
Overrides
Option.PreprocessBuild(BuildTarget, String, OptionInclusion)
  • Improve this Doc
  • View Source
Back to top © 2017 Adrian Stutz