parent
8b0e86a5f3
commit
426cd2ee5c
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -34,6 +34,11 @@ android {
|
|||
checkReleaseBuilds false
|
||||
}
|
||||
|
||||
dexOptions {
|
||||
incremental true
|
||||
javaMaxHeapSize "8g"
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
debug {
|
||||
minifyEnabled **MINIFY_DEBUG**
|
||||
|
|
|
|||
|
|
@ -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>(),
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue