- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
60 lines
1.8 KiB
Java
60 lines
1.8 KiB
Java
package com.singular.sdk;
|
|
|
|
import android.net.Uri;
|
|
import com.singular.sdk.internal.Utils;
|
|
import java.util.ArrayList;
|
|
import java.util.HashMap;
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public class SingularConfig {
|
|
public final String apiKey;
|
|
public String customUserId;
|
|
public String facebookAppId;
|
|
public String imei;
|
|
public Uri openUri;
|
|
public final String secret;
|
|
public long shortlinkTimeoutSec;
|
|
public Uri singularLink;
|
|
public boolean wasCustomUserIdSetBeforeInit = false;
|
|
public Map globalProperties = new HashMap();
|
|
public long sessionTimeoutSec = 60;
|
|
public boolean enableLogging = false;
|
|
public int logLevel = 6;
|
|
public boolean isOpenedWithDeepLink = false;
|
|
public List approvedDomains = new ArrayList();
|
|
|
|
public SingularConfig(String str, String str2) {
|
|
if (Utils.isEmptyOrNull(str)) {
|
|
throw new IllegalArgumentException("apiKey can not be null or empty");
|
|
}
|
|
if (Utils.isEmptyOrNull(str2)) {
|
|
throw new IllegalArgumentException("secret can not be null or empty");
|
|
}
|
|
this.apiKey = str;
|
|
this.secret = str2;
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder sb = new StringBuilder();
|
|
sb.append("apiKey='");
|
|
sb.append(this.apiKey);
|
|
sb.append('\'');
|
|
sb.append(", secret='");
|
|
sb.append(this.secret);
|
|
sb.append('\'');
|
|
if (this.openUri != null) {
|
|
sb.append(", openUri=");
|
|
sb.append(this.openUri);
|
|
}
|
|
sb.append(", logging='");
|
|
sb.append(this.enableLogging);
|
|
sb.append('\'');
|
|
sb.append(", logLevel='");
|
|
sb.append(this.logLevel);
|
|
sb.append('\'');
|
|
return sb.toString();
|
|
}
|
|
}
|