ActiveSync 2.5 推送联系人 Android 2.3 和 4

发布于 2024-12-25 16:31:53 字数 174 浏览 4 评论 0原文

我正在使用 zpush 构建一个群件来同步联系人/日历。 Direct Push 在任何 IOS 设备上都可以很好地工作,但在 Android 上则不然(在 2.3 和 4.0 上测试)。

我没有在 PING 响应(状态 2 - 已修改)后收到 SYNC 命令,而是从设备收到 FOLDERSYNC 命令。我哪里错了?

I am building a groupware using zpush to sync contacts/calendars. Direct Push is working very well on any IOS device but does not on Android (tested on 2.3 and 4.0).

Instead of receiving a SYNC command after a PING response (status 2 - modified), I receive a FOLDERSYNC command from the device. Where am I wrong?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

没企图 2025-01-01 16:31:53

AFAIK,设备几乎可以随时发送 FolderSync 命令。仅仅因为 Ping 的返回代码表明设备有需要同步的更改,您可能不应该期望它始终发生。

正如您所发现的,流行的 EAS 实现之间存在细微但显着的差异,而且它是一个复杂的启动协议。如果您希望所有 EAS 客户端都能愉快地使用您的服务器代码,那么您的服务器代码必须非常宽容。

AFAIK, the device is free to send a FolderSync command at almost any time. Just because the Ping's return code indicates that there are changes for the device to synchronize, you should probably not expect it to happen all the time.

As you're finding out, there are subtle but significant differences between the popular EAS implementations, and it's a complex protocol to boot. Your server's code will have to be pretty forgiving if you want all EAS clients to work happily with it.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文