martijnwalraven / meteor-ios

Meteor iOS integrates native iOS apps with the Meteor platform (http://www.meteor.com) through DDP
MIT License
741 stars 82 forks source link

How to listen to the subscriptions? #125

Open RupikaSahu opened 4 years ago

RupikaSahu commented 4 years ago

Hi,

I am able to call methods to server and get the data. But how should I listen to the subscriptions? When server sends an update, do we need to listen them through notifications or do we need to check the Meteor database and it's collections? If we need to listen through notifications. I'm using "lists_changed"(underscore and action name as format) as Notification name. Is this the correct format ?

Any reply would be a great help. Thank you :).