package com.base.locationsharewhite.helper.config

import com.base.locationsharewhite.BuildConfig
import com.base.locationsharewhite.R

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

    //用于替换广告位，区分debug与正式广告位id
    inline val openAdId get() = if (BuildConfig.DEBUG) openAdmobIdTest else openAdmobId
    inline val bannerAdId get() = if (BuildConfig.DEBUG) bannerAdmobIdTest else bannerAdmobId
    inline val insertAdId get() = if (BuildConfig.DEBUG) interAdmobIdTest else interAdmobId
    inline val nativeAdId get() = if (BuildConfig.DEBUG) nativeAdmobIdTest else nativeAdmobId


    //admob test id
    const val openAdmobIdTest = "ca-app-pub-3940256099942544/9257395921"
    const val bannerAdmobIdTest = "ca-app-pub-3940256099942544/9214589741"
    const val interAdmobIdTest = "ca-app-pub-3940256099942544/1033173712"
    const val nativeAdmobIdTest = "ca-app-pub-3940256099942544/2247696110"

    // admob广告id
    const val interAdmobId = "ca-app-pub-3940256099942544/1033173111"
    const val nativeAdmobId = "ca-app-pub-3940256099942544/2247696111"
    const val openAdmobId = "/6499/example/app-open"
    const val bannerAdmobId = "ca-app-pub-3940256099942544/9214581111"

}