2016-04-13 52 views
0

正在使用离子框架做手机应用, 拥有MySQL数据库服务器&使用API​​来处理得到&后的方法(响应将是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 

回答