Skip to content

HMSLocation.Geofence.Native.deleteGeofenceList(requestId) 报错 RequestId does not in Geofence list #370

Open
@eliot-ye

Description

@eliot-ye

Description
依据文档设置了 let requestId = 3;

调用 HMSLocation.Geofence.Native.deleteGeofenceList(requestId)
返回错误 "{"errorCode":806,"errorMessage":"RequestId does not in Geofence list"}"

调用await HMSLocation.Geofence.Native.createGeofenceList(requestId, ...)
返回错误 "{"errorCode":800,"errorMessage":"10201: GEOFENCE_TOO_MANY_GEOFENCES"}"

似乎没有API可以直接清空所有已注册的地理围栏。
有什么办法可以强制清空所有已注册的地理围栏吗?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions