package com.github.material.monitor.demo.helper;

import android.app.Application;
import android.provider.Settings;

import com.github.material.monitor.MaterialMonitorConfig;

/**
 * Demo 网关与设备标识配置（对接文档 §3）。
 *
 * <p>正式接入请替换 baseUrl / appId / appKey，并在用户同意隐私后填入 OAID、Android ID 等
 * （device_info 建议补充，如 OAID）。</p>
 */
public final class DemoMonitorConfig {

    public static final String CREATIVE_AUDIT_BASE_URL = "https://cag.mosspf.com";
    public static final String CREATIVE_AUDIT_APP_ID = "a62b013be01931";
    public static final String CREATIVE_AUDIT_APP_KEY = "c3d0d2a9a9d451b07e62b509659f7c97";

    private DemoMonitorConfig() {
    }

    public static MaterialMonitorConfig build() {
        return new MaterialMonitorConfig.Builder()
                .baseUploadUrl(CREATIVE_AUDIT_BASE_URL)
                .appId(CREATIVE_AUDIT_APP_ID)
                .appKey(CREATIVE_AUDIT_APP_KEY)
                .androidId("")
                .oaid("")
                .mac("")
                .gaid("")
                .imei("")
                .debugPerfLogging(true) // tag~:MaterialMonitorHelper|MaterialLog
                .build();
    }

}
