Skip to content
This repository was archived by the owner on Sep 15, 2021. It is now read-only.

Conversation

nprail
Copy link

@nprail nprail commented Oct 19, 2017

Added the new topic subscribe and unsubscribe functions!

subscribe

$cordovaPushV5.subscribe('my-topic').then(function (res) {
	console.log('success');
}).catch(function (e) {
	console.log('error:', e);
});

unsubscribe

$cordovaPushV5.unsubscribe('my-topic').then(function (res) {
	console.log('success');
}).catch(function (e) {
	console.log('error:', e);
});

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant