package com.base.locationsharewhite.ads

import com.base.locationsharewhite.BuildConfig


/**
 * 部分常量配置相关，如admob广告位id与通知渠道等
 */
object ConstConfig {

    //用于替换admob广告位，区分debug与正式广告位id
    inline val ADMOB_OPEN_UNIT_ID get() = if (BuildConfig.DEBUG) OPEN_ADMOB_ID_TEST else OPEN_ADMOB_ID
    inline val ADMOB_BANNER_UNIT_ID get() = if (BuildConfig.DEBUG) BANNER_ADMOB_ID_TEST else BANNER_ADMOB_ID
    inline val ADMOB_INSERT_UNIT_ID get() = if (BuildConfig.DEBUG) INTER_ADMOB_ID_TEST else INTER_ADMOB_ID
    inline val ADMOB_NATIVE_UNIT_ID get() = if (BuildConfig.DEBUG) NATIVE_ADMOB_ID_TEST else NATIVE_ADMOB_ID

    //云控remoteConfig对应的key
    const val REMOTE_MSG = "MsgConfig"//云控消息配置对应的key
    const val REMOTE_AD = "AdmobConfig"//云控广告配置对应的key


    //admob test id
    const val OPEN_ADMOB_ID_TEST = "ca-app-pub-3940256099942544/9257395921"
    const val INTER_ADMOB_ID_TEST = "ca-app-pub-3940256099942544/1033173712"
    const val NATIVE_ADMOB_ID_TEST = "ca-app-pub-3940256099942544/2247696110"
    const val BANNER_ADMOB_ID_TEST = "ca-app-pub-3940256099942544/9214589741"

    // admob广告id
    const val OPEN_ADMOB_ID = "ca-app-pub-3940256099942544/9257395921"
    const val INTER_ADMOB_ID = "ca-app-pub-3940256099942544/1033173712"
    const val NATIVE_ADMOB_ID = "ca-app-pub-3940256099942544/2247696110"
    const val BANNER_ADMOB_ID = "ca-app-pub-3940256099942544/9214589741"


    const val MAX_SDK_KEY =
        "GGPreND6SRmCt1zJgn5faiLGD8c2PVGPLgPpSg7cHanVTud1DhtuI9MmteTqlEviaJ57WnxW68kQDaATJ5z3cW"
    const val MAX_OPEN_UNIT_ID = "d1d943cdd3127c90"
    const val MAX_INSERT_UNIT_ID = "b31e7f6d11ee659e"
    const val MAX_BANNER_UNIT_ID = "ca-app-pub-3940256099942544/9214589741"
    const val MAX_NATIVE_UNIT_ID = "96e8fe78b0efc5d1"



}