Commit 1717b7cf by 徐健

升级 flutter

parent 1883a328
......@@ -48,9 +48,9 @@ ext {
"m-fm" : "0.0.20",
"m-user" : "0.0.33",
// 接入flutter的模块
"m-tests" : "0.0.11.9",
"m-muse" : "0.0.17.9",
"m-course" : "0.0.28.9",
"m-tests" : "0.0.11.10",
"m-muse" : "0.0.17.10",
"m-course" : "0.0.28.10",
//-------------- 业务模块 API 层 --------------
"m-audioim-api" : "0.0.5",
......@@ -76,7 +76,7 @@ ext {
"router" : "0.0.1",
"ydl-net" : "0.0.2",
"ydl-utils" : "0.0.3",
"ydl-flutter-base": "0.0.5.11",
"ydl-flutter-base": "0.0.5.12",
]
ydlCompileVersion = [
......@@ -117,7 +117,7 @@ ext {
"router" : "0.0.1",
"ydl-net" : "0.0.2",
"ydl-utils" : "0.0.3",
"ydl-flutter-base": "0.0.5.11",
"ydl-flutter-base": "0.0.5.12",
]
dependencies = [
......@@ -255,7 +255,7 @@ ext {
//flutter功能组件升级===>发布ydl-flutter组件===>引用flutter相关的业务模块
"ydl-flutter-base" : "com.ydl:ydl-flutter-base:${ydlCompileVersion["ydl-flutter-base"]}", //组件化项目中的flutter base模块
"ydl-flutter" : "com.ydl:ydl-flutter:0.0.15.4@aar", //flutter aar
"ydl-flutter" : "com.ydl:ydl-flutter:0.0.15.5@aar", //flutter aar
"ydl-flutter-sp" : "com.ydl:ydl-flutter-sp:0.0.2@aar", //flutter 缓存 aar
//基础组件 <<--- 先发这个,发完改这里的版本号
......
......@@ -55,7 +55,7 @@ class YDLCommonPlugin : MethodChannel.MethodCallHandler {
val loginBean = ModularServiceManager.getPlatformUserService()?.getUser()
val mMap = mutableMapOf<String, Any>()
var uid = loginBean?.userId ?: ""
mMap["isDevelopment"] = BuildConfig.DEBUG
mMap["isDevelopment"] =BuildConfig.DEBUG
mMap["uid"] = if (TextUtils.isEmpty(uid)) "0" else uid
mMap["accessToken"] = loginBean?.token ?: ""
?: ""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment