6.2.0 • Published 17 days ago

@parse/push-adapter v6.2.0

Weekly downloads
23,026
License
MIT
Repository
github
Last release
17 days ago

Parse Server Push Adapter

Build Status Snyk Badge Coverage auto-release

Node Version

npm latest version


The official Push Notification adapter for Parse Server. See Parse Server Push Configuration for more details.


Silent Notifications

If you have migrated from parse.com and you are seeing situations where silent (newsstand-like presentless) notifications are failing to deliver please ensure that your payload is setting the content-available attribute to Int(1) and not "1" This value will be explicitly checked.

Logging

You can enable verbose logging with environment variables:

VERBOSE=1

or 

VERBOSE_PARSE_SERVER_PUSH_ADAPTER=1

This will produce a more verbose output for all the push sending attempts

Using a Custom Version on Parse Server

Install Push Adapter

npm install --save @parse/push-adapter@<VERSION>

Replace <VERSION> with the version you want to install.

Configure Parse Server

const PushAdapter = require('@parse/push-adapter').default;
const parseServerOptions = {
  push: {
    adapter: new PushAdapter({
      ios: {
        /* Apple push options */
      },
      android: {
        /* Android push options */
      },
      web: {
        /* Web push options */
      },
      expo: {
        /* Expo push options */
      },
    }),
  },
  /* Other Parse Server options */
}

Expo Push Options

Example options:

expo: {
  accessToken: '<EXPO_ACCESS_TOKEN>',
},

For more information see the Expo docs.

6.2.0

17 days ago

6.1.1

17 days ago

6.1.0

28 days ago

5.2.0

2 months ago

6.0.0

2 months ago

5.1.1

3 months ago

5.1.0

3 months ago

5.0.2

7 months ago

5.0.1

7 months ago

5.0.0

7 months ago

4.2.3

7 months ago

4.2.2

7 months ago

4.2.5

7 months ago

4.2.4

7 months ago

4.2.1

8 months ago

4.2.0

10 months ago

4.1.3

1 year ago

4.1.2

2 years ago

4.1.1

2 years ago

4.1.0

3 years ago

4.0.0

3 years ago

3.4.1

3 years ago

3.4.0

4 years ago

3.3.0

4 years ago

3.2.0

5 years ago

3.1.0

5 years ago

3.0.10

5 years ago

3.0.9

5 years ago

3.0.8

5 years ago

3.0.7

5 years ago

3.0.6

5 years ago

3.0.5

5 years ago

3.0.0

6 years ago

3.0.0-alpha2

6 years ago

2.0.3

6 years ago

3.0.0-alpha1

6 years ago

2.0.3-alpha

6 years ago

2.0.2

7 years ago