Skip to content

greenlizard/hoodie-plugin-push-notification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published