package com.yidian.common

class AppConfig {
  companion object {
    // 是否开启加密
    const val IS_ENCRYPT = BuildConfig.IS_ENCRYPT
    const val KUANGSHI_ALIVE_API_KEY = "32f9XIsReV4S15Ck_Sa3ky43XgAHUB9v"
    const val KUANGSHI_SECRET = "usZbQYdI4PQeXhMftsRfHK2msj0DmSIl"

    // 渠道
    const val appid = "merchant-b"

    // 客户端版本号
    const val cv = BuildConfig.VERSION_NAME

    // 服务端版本号
    const val version = BuildConfig.SERVICE_VERSION

    // 分发
    const val distribution = "official"

    // 平台
    const val platform = "1"


    //地铁项目
    const val WeChatAppKey = "wxef4c37f254e29e84"
    const val WeChatAppSecret = "fb596ed3641b481b6f973774987fd04f"
    const val QQAppKey = "101923771"
    const val QQAppSecret = "c34d63cfcf9f8b13a71f48424b48d692"
    const val SinaAppKey = "4157874278"
    const val SinaAppSecret = "85c422bc0a1e0553e6a6a075701422a7"
    const val SinaCallBackUrl = "https://api.weibo.com/oauth2/default.html"

    const val privacyPolicyStatement = "https://www.appgc.cn/plugins/privacy/content?type=privacy&appId=1080334&ver=210601"
    const val userProtocol = "https://www.appgc.cn/plugins/privacy/content?type=mp&appId=1080334&ver=210601"

    // 友盟测试环境配置
    const val UMAppTestKey = "60c8479fe044530ff0a49936"//umeng统计key注释
    const val UMTestChannel = "ANDROID_CHANNEL"
    const val UMTestType = "metro"
    const val UMTestSecret = "e78446e86d153e2891ae7523e1532f13"

    // 友盟线上环境配置
    const val UMAppKey = "60c8479fe044530ff0a49936"//umeng统计key注释
    const val UMChannel = "ANDROID_CHANNEL"
    const val UMType = "metro"
    const val UMSecret = "e78446e86d153e2891ae7523e1532f13"
    const val PUSH_XIAOMI_SUPPORT_MASK = 0x40000000
    const val PUSH_UMENG_SUPPORT_MASK = 0x20000000
    const val PUSH_GETUI_SUPPORT_MASK = 0x10000000
    const val PUSH_PASS_THROGH_UNIQUE_MASK = 0x00000001
    const val ZIXUN_PUSH_LEVEL = PUSH_XIAOMI_SUPPORT_MASK

    const val PUSH_LEVEL = (PUSH_XIAOMI_SUPPORT_MASK or PUSH_UMENG_SUPPORT_MASK
      or PUSH_GETUI_SUPPORT_MASK or PUSH_PASS_THROGH_UNIQUE_MASK)
  }
}
