- 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
32 lines
1.2 KiB
Java
32 lines
1.2 KiB
Java
package com.fyber.inneractive.sdk.config;
|
|
|
|
import android.text.TextUtils;
|
|
import com.fyber.inneractive.sdk.util.IAlog;
|
|
import java.util.HashMap;
|
|
import java.util.regex.Pattern;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class a {
|
|
public static e0 a(String str) {
|
|
IAConfigManager iAConfigManager = IAConfigManager.L;
|
|
HashMap hashMap = iAConfigManager.b;
|
|
if (hashMap != null && hashMap.containsKey(str)) {
|
|
return (e0) iAConfigManager.b.get(str);
|
|
}
|
|
IAlog.c("Requested unit config doesn't exists - %s", str);
|
|
return null;
|
|
}
|
|
|
|
public static String a() {
|
|
int i = g.a;
|
|
String property = System.getProperty("ia.testEnvironmentConfiguration.name");
|
|
if (TextUtils.isEmpty(property)) {
|
|
return "https://" + IAConfigManager.L.i.f;
|
|
}
|
|
if (Pattern.compile("^([01]?\\d\\d?|2[0-4]\\d|25[0-5])\\.([01]?\\d\\d?|2[0-4]\\d|25[0-5])\\.([01]?\\d\\d?|2[0-4]\\d|25[0-5])\\.([01]?\\d\\d?|2[0-4]\\d|25[0-5])$").matcher(property).matches()) {
|
|
return "https://" + property + "/simpleM2M/Event";
|
|
}
|
|
return "https://" + property + ".inner-active.mobi/simpleM2M/Event";
|
|
}
|
|
}
|