Parse icon indicating copy to clipboard operation
Parse copied to clipboard

how to unsubscribe from the push service

Open e3bmo3ty opened this issue 9 years ago • 3 comments

hi, great work really :)

but is there any method to unsubscribe from the service, because i work on app using remote APIs for parse, and has a user logout method

thanks

e3bmo3ty avatar Aug 22 '15 18:08 e3bmo3ty

You mean unsubscribe from a channel?

DouglasHennrich avatar Aug 28 '15 16:08 DouglasHennrich

I mean if i have application with auth system, when the user logout i need to unSubscribe from the push service

On Friday, August 28, 2015, Douglas Hennrich [email protected] wrote:

You mean unsubscribe from a channel?

— Reply to this email directly or view it on GitHub https://github.com/timanrebel/Parse/issues/33#issuecomment-135821574.

Sent from my iphone

e3bmo3ty avatar Aug 29 '15 14:08 e3bmo3ty

I guess you need to unsubcribe him for all channels of push notification that you have subcribed when he are logged

Parse.subscribeChannel('user_123');
Parse.unsubscribeChannel('user_123');

DouglasHennrich avatar Aug 30 '15 15:08 DouglasHennrich