【发布时间】:2016-04-25 22:40:27
【问题描述】:
我正在使用离子框架做移动应用程序, 在服务器中拥有 mysql db 并使用 api 处理 get 和 post 方法(响应将采用 JSON 格式) 如何在我的应用程序中实现在线和离线数据同步。 它应该像下面这样工作
- Need internet connection for first time login. so that it can pull data from server
- If user wents to offline, he should able to view, add in offline
- Once he goes to online again, the data should sync in server
【问题讨论】: