Skip to content

fix?(android): query by user should ignore cache #85

@zapcannon87

Description

@zapcannon87

问题

ref: https://leanticket.cn/tickets/35944

android端发消息,只触发了一次update请求。
ios端发消息,触发了一次get和一次update请求

Android 和 iOS 的行为不一致,推测可能是 Android 的 Query 会先查本地缓存。

建议方案

目前 dart 的接口没有缓存相关的选项,建议 Android 的所有相关查询(用户发起的会话、消息查询)都忽略本地的持久缓存,与 iOS 端保持一致。

Metadata

Metadata

Assignees

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