Files
rr3-apk/decompiled/sources/com/ironsource/mediationsdk/config/ConfigFile.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

64 lines
1.8 KiB
Java

package com.ironsource.mediationsdk.config;
/* loaded from: classes4.dex */
public class ConfigFile {
private static ConfigFile mInstance;
private String mPluginFrameworkVersion;
private String mPluginType;
private String mPluginVersion;
private String[] mSupportedPlugins = {"AdobeAir", "Cocos2dx", "Cordova", "Corona", "Defold", "Flutter", "ReactNative", "Unity", "Unreal", "Xamarin", "Other"};
public static synchronized ConfigFile getConfigFile() {
ConfigFile configFile;
synchronized (ConfigFile.class) {
try {
if (mInstance == null) {
mInstance = new ConfigFile();
}
configFile = mInstance;
} catch (Throwable th) {
throw th;
}
}
return configFile;
}
public String getPluginFrameworkVersion() {
return this.mPluginFrameworkVersion;
}
public String getPluginType() {
return this.mPluginType;
}
public String getPluginVersion() {
return this.mPluginVersion;
}
public void setPluginData(String str, String str2, String str3) {
this.mPluginType = null;
if (str != null) {
String[] strArr = this.mSupportedPlugins;
int length = strArr.length;
int i = 0;
while (true) {
if (i >= length) {
break;
}
String str4 = strArr[i];
if (str.equalsIgnoreCase(str4)) {
this.mPluginType = str4;
break;
}
i++;
}
}
if (str2 != null) {
this.mPluginVersion = str2;
}
if (str3 != null) {
this.mPluginFrameworkVersion = str3;
}
}
}