IONIC application doing automatic server synchronization

Asked

Viewed 98 times

0

I have an application made with IONIC that makes a CRUD and can send and receive data to the server, until then everything is working perfectly. The modifications I make in the application are being updated on the server but are not being updated in the application itself. I used ng-href in all my calls and when they are executed they display updated information, but my list (ion-list) keeps displaying old information. How to make this list update with new server information?

OBS.: I would like something similar to an asynctask for Ionic

  • I have heard of this using meteorjs https://www.angular-meteor.com/tutorials/socially/angular1/3-way-data-binding . You may also use firebase https://www.airpair.com/angularjs/posts/build-real-time-hybrid-app-with-ionic-firebase. I do not put as an answer as I have never tested with any of them. If your application is using a Mysql database, it might be better to try firebase because I’ve heard that Meteor works well with Mongo. If you succeed, put your solution there to help. Good luck

  • André, I’ll take a look at the media then, because my bank is Mongo.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.