update: 更新initconfig参数

feature/item_system 1.0.4
胡宇飞 2024-01-18 17:03:53 +08:00
parent 8b0e86a5f3
commit 91b0ba0346
4 changed files with 11 additions and 4 deletions

View File

@ -1,5 +1,7 @@
org.gradle.jvmargs=-Xmx**JVM_HEAP_SIZE**M
org.gradle.parallel=true
org.gradle.daemon=true
org.gradle.caching=true
android.enableR8=**MINIFY_WITH_R_EIGHT**
unityStreamingAssets=**STREAMING_ASSETS**
# Android Resolver Properties Start

View File

@ -33,6 +33,11 @@ android {
abortOnError false
checkReleaseBuilds false
}
dexOptions {
incremental true
javaMaxHeapSize "8g"
}
buildTypes {
debug {

View File

@ -50,7 +50,7 @@ namespace Guru
bool autoLoadAds = true,
bool iapEnabled = true,
bool autoRecordFinishedLevels = true,
bool showDebugLog = false,
bool debugMode = false,
Dictionary<string, object> defaultRemoteData = null,
byte[] googleKeys = null,
byte[] appleRootCerts = null)
@ -62,7 +62,7 @@ namespace Guru
AutoLoadWhenAdsReady = autoLoadAds,
IAPEnabled = iapEnabled,
AutoRecordFinishedLevels = autoRecordFinishedLevels,
DebugMode = showDebugLog,
DebugMode = debugMode,
GoogleKeys = googleKeys,
AppleRootCerts = appleRootCerts,
DefaultRemoteData = defaultRemoteData ?? new Dictionary<string, object>(),

View File

@ -85,13 +85,13 @@ namespace Guru
bool autoLoadAds = true,
bool iapEnabled = true,
bool autoRecordFinishedLevels = true,
bool showDebugLog = false,
bool debugMode = false,
Dictionary<string, object> defaultRemoteData = null,
byte[] googleKeys = null,
byte[] appleRootCerts = null)
{
var config = GuruSDKInitConfig.Build(useCustomConsent, autoLoadAds, iapEnabled,
autoRecordFinishedLevels, showDebugLog, defaultRemoteData, googleKeys, appleRootCerts);
autoRecordFinishedLevels, debugMode, defaultRemoteData, googleKeys, appleRootCerts);
return config;
}