花瓣 v4.6.12版本的 MD5 值为:6a3515d4d16d98931f1b3d25a91b257e
以下内容为反编译后的 f.java 源代码,内容仅作参考
package com.ubix.network;
import android.text.TextUtils;
import com.ubix.UbixAdManger;
import com.ubix.bean.AdConstant;
import com.ubix.util.AndroidUtils;
import com.ubix.util.USharePreUtil;
import java.io.PrintStream;
public class f {
public static String a() {
try {
String string = USharePreUtil.getString(AndroidUtils.getContext(), "replaceUrl");
PrintStream printStream = System.out;
printStream.println("------sNetEnvironment: " + UbixAdManger.sNetEnvironment);
return UbixAdManger.sNetEnvironment == UbixAdManger.NetEnvironment.ONLINE ? TextUtils.isEmpty(string) ? "https://entry.ubixioe.com/mob/sdk/" : string : TextUtils.isEmpty(string) ? "http://entry-test.ubixioe.com/mob/sdk/" : string;
} catch (Exception unused) {
return "https://entry.ubixioe.com/mob/sdk/";
}
}
public static String a(String str) {
int phoneType = AndroidUtils.getPhoneType();
return a() + "v1/init?sv=" + AdConstant.sdkVersion + "&aid=" + str + "&dt=" + phoneType + "&os=android";
}
public static String b() {
try {
String string = USharePreUtil.getString(AndroidUtils.getContext(), "serverTrackUrl");
return UbixAdManger.sNetEnvironment == UbixAdManger.NetEnvironment.ONLINE ? TextUtils.isEmpty(string) ? "https://sdk-data.ubixioe.com/ssp" : string : "https://sdk-data-test.ubixioe.com/ssp";
} catch (Exception unused) {
return "https://sdk-data.ubixioe.com/ssp";
}
}
public static String c() {
return a() + "v1/endpoint";
}
}