hoodie-plugin-push-notification
v0.1.9
Published
Push Notification hoodie plugin
Downloads
1
Maintainers
Readme
hoodie-plugin-cordova-notification
This plugin watch for notification task and trigger PushNotification.
Dependencies:
hoodie-plugin-profile hoodie-utils-plugins
Notifictions
When task is intercepted by notification:change
event, the notification schema should contains:
{
notificationType: 'requestFriend',
from: userId,
to: userId
}
Possible notificationType:
- requestFriend
- acceptedFriend
Dependencies
hoodie install hoodie-plugin-notification
Setup client
<script src="/_api/_files/hoodie.js"></script>
for cordova/phonegap users
<script src="<bowerdir>/hoodie/dist/hoodie.js"></script>
<script src="<bowerdir>/hoodie-plugin-notification/hoodie.notification.js"></script>