Files
ttstd_family_care/lib/app/constants/app_constants.dart
TongTongStudio 06cdc77172 feat(android): 支持沉浸式状态栏、地图定位与自定义签名
- 配置 edge-to-edge 沉浸式状态栏与刘海屏适配
- 新增百度地图权限、AK 配置及定位权限说明
- 接入 MethodChannel 实现返回键退后台热启动优化
- 配置自定义签名并更新构建逻辑
- 完善 token 刷新与鉴权失效统一处理
- 新增地图页与截图页路由
- 修复返回键拦截导致的 PopScope 失效问题
2026-08-19 03:43:12 +08:00

25 lines
764 B
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.
/// 全局常量与端点配置。
class AppConstants {
const AppConstants._();
/// 生产环境基础地址。
static const String kBaseUrl = 'http://192.168.100.244:8000/api/';
/// 请求超时(毫秒)。
static const int kConnectTimeoutMs = 15000;
/// 响应超时(毫秒)。
static const int kReceiveTimeoutMs = 15000;
/// 安全存储键。
static const String kTokenKey = 'auth_token';
static const String kRefreshTokenKey = 'refresh_token';
static const String kDeviceIdKey = 'device_id';
/// 应用名称。
static const String kAppName = '家庭关怀';
/// 百度地图开放平台申请的 AKAndroid / iOS 共用)。
static const String kBaiduMapAk = '请替换为百度地图开放平台申请的AK';
}