diff --git a/Editor/BuildTool/AppBuildParam.cs b/Editor/BuildTool/AppBuildParam.cs index aa07bc3..3e37217 100644 --- a/Editor/BuildTool/AppBuildParam.cs +++ b/Editor/BuildTool/AppBuildParam.cs @@ -86,12 +86,14 @@ namespace Guru.Editor /// /// /// + /// /// public static AppBuildParam AndroidParam(bool isRelease, string version = "", bool autoBuildNumber = true, AppBuilderType builderType = AppBuilderType.Editor, - string companyName = "", bool useGuruCerts = true, bool useMinify = false, int androidTargetVersion = 0, bool debugWithMono = true) + string companyName = "", bool useGuruCerts = true, bool useMinify = false, int androidTargetVersion = 0, + bool debugWithMono = true, bool isBuildAAB = false) { - bool buildAAB = isRelease; + bool buildAAB = isBuildAAB; bool buildShowLog = isRelease; bool buildSymbols = isRelease; string targetName = TargetNameAndroid; diff --git a/Runtime/GuruCore/Runtime/Analytics/Analytics.cs b/Runtime/GuruCore/Runtime/Analytics/Analytics.cs index fc7a917..c5777e0 100644 --- a/Runtime/GuruCore/Runtime/Analytics/Analytics.cs +++ b/Runtime/GuruCore/Runtime/Analytics/Analytics.cs @@ -198,6 +198,8 @@ namespace Guru { if(kv.Value is string strValue) parameters.Add(new Parameter(kv.Key, strValue)); + else if (kv.Value is bool boolValue) + parameters.Add(new Parameter(kv.Key, boolValue ? "true" : "false")); else if (kv.Value is int intValue) parameters.Add(new Parameter(kv.Key, intValue)); else if (kv.Value is long longValue)