1.围栏和wifi适配百度地图

2.修复首次绑定流程中添加wifi ,定位点未按国内版纠正bug
3.优化百度和谷歌定位全局只使用一个
4.删除未使用字符串,整理多语言
This commit is contained in:
2026-08-27 17:32:35 +08:00
parent 567088bb87
commit c6f9e191b9
53 changed files with 2523 additions and 2216 deletions

View File

@@ -35,7 +35,7 @@ import androidx.annotation.StringDef
EventName.LiveAutoEnd,
EventName.LiveOpenTimeOut,
EventName.SetGoal,
EventName.RefreshMessage,
EventName.LocationData,
EventName.BluetoothSwitch,
EventName.PostValue,
EventName.BleReport,
@@ -54,7 +54,7 @@ annotation class EventName {
const val UpdateUserInfo = "updateUserInfo"
const val UpdateData = "updateData"
const val RefreshFences = "refreshFences"
const val RefreshMessage = "refreshMessage"
const val LocationData = "locationData"
const val DeleteFences = "deleteFences"
const val RefreshDevice = "refreshDevice"
const val DeleteDevice = "deleteDevice"

View File

@@ -94,7 +94,7 @@ class AppUtils {
* 是否是国内
*/
fun isChina(type: String = SWITCH_PAGE_TYPE): Boolean {
return true
return false
if (isDebug()) {
if (type == SWITCH_MAP_TYPE && MMKVUtil.getBoolean(MMKVKey.OnlyGoogleMap, false)) {
//只启用谷歌地图