petsHero-AI/lib/core/config/facebook_config.dart

28 lines
1.1 KiB
Dart
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/// Facebook SDK 配置
///
/// 用于 Adjust Meta Install Referrer 归因与 Facebook App Events 埋点。
abstract final class FacebookConfig {
/// Facebook 调试日志true 时 Dart 层会打印所有 FB 事件(正式包调试用,上线前改 false
static const bool debugLogs = true;
/// Facebook 应用 ID应用编号
static const String appId = '1684216162986495';
/// Facebook Client Token客户端口令
///
/// 在 Facebook 开发者后台获取:应用 → 设置 → 高级 → 客户端口令
static const String clientToken = '';
/// 安装引荐来源解密密钥
///
/// 用于解密 Facebook App Install Ads 的加密 referrer。
/// 请在 Adjust 控制台填写此密钥以启用解密
/// 路径App Settings → Partner setup → Meta/Facebook
static const String installReferrerDecryptionKey =
'068aff9bac7e8846b94e9fc73d51c7a5ab7c8ac39fe9a2b16d0ff8b74f98f';
/// 应用密钥App Secret仅用于服务端勿放入客户端。
static bool get hasClientToken => clientToken.isNotEmpty;
}