Replies: 2 comments 1 reply
|
@boogiie this is due to the version mismatch between server (v0.31) and iOS (v0.30) and how API cache syncs. When creating a memo through Web UI, frontend client updates their state and cache immediately. However when posting through the Python API (v0.31), iOS app (v0.30) will not refresh or invalidate their cached list until you either do a pull-to-refresh or quit and re-open the app, this is because iOS app does not know about the new schema/endpoints exposed in v0.31. Possible workarounds: |
|
@boogiie 这是由于 Memos 服务端 (v0.31) 与 iOS 客户端 (v0.30) 之间的版本不匹配以及 API 缓存同步机制导致的。 当你在 Web 界面上创建 memo 时,前端页面会立即更新本地状态和缓存。但是通过 Python API (v0.31) 推送时,由于 v0.31 引入了新的 API 端点/数据结构,iOS 客户端 (v0.30) 无法自动感知并刷新缓存,只有在你手动下拉刷新或重启 App 时才会拉取新数据。 建议的解决方案:
|
Uh oh!
There was an error while loading. Please reload this page.
Docker部署的0.31版的memos,python通过api推送信息到memos上,苹果手机安装的0.30版的memos收不到api推送的消息;web登录memos,在上面发的信息,iOS上的0.30memos能收到。appstore 最新版memos只有0.30版。
All reactions