1.0.2 • Published 9 years ago

push-service-client v1.0.2

Weekly downloads
1
License
ISC
Repository
bitbucket
Last release
9 years ago

A mobile (iOS, Android) push notification handler for the client.

Basic usage:

  • load module
  • Create a config object
  • call the registerPush(config)

    Example:

       var config = {
          android: {
              senderID: "12345678910"
          },
          ios: {
              alert: "true",
              badge: "true",
              sound: "true"
          },
          serverUrl: 'http://127.0.0.1:2100',
          serverEndpoint: '/someServerRoute', // Default is '/registerPush'
          platform: 'ios',
          useDefaultToast: true // Displaying the notification when the user is with the app open
       };
    
       pushService.registerPush(config);
1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago