|
@@ -8,7 +8,26 @@ class BuildConfig {
|
|
|
static bool get isDebug => kDebugMode;
|
|
static bool get isDebug => kDebugMode;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-mixin GravityConfig {
|
|
|
|
|
|
|
+final class UmengConfig {
|
|
|
|
|
+ UmengConfig._();
|
|
|
|
|
+
|
|
|
|
|
+ //友盟统计配置
|
|
|
|
|
+ static const _umengAndroidAppKey = "66b07216cac2a664de82d222";
|
|
|
|
|
+ static const _umengIosAppKey = "66b07337cac2a664de82d457";
|
|
|
|
|
+
|
|
|
|
|
+ static String get umengAppKey {
|
|
|
|
|
+ if (Platform.isAndroid) {
|
|
|
|
|
+ return _umengAndroidAppKey;
|
|
|
|
|
+ } else if (Platform.isIOS) {
|
|
|
|
|
+ return _umengIosAppKey;
|
|
|
|
|
+ } else {
|
|
|
|
|
+ return '';
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+final class GravityConfig {
|
|
|
|
|
+ GravityConfig._();
|
|
|
//引力引擎配置
|
|
//引力引擎配置
|
|
|
static const _gravityAndroidAppId = "24753190";
|
|
static const _gravityAndroidAppId = "24753190";
|
|
|
static const _gravityIosAppId = "29235674";
|
|
static const _gravityIosAppId = "29235674";
|