Giter Club home page Giter Club logo

parse-server-push-adapter's Introduction

parse-server-push-adapter

Build Status codecov.io NPM Version

Official Push adapter for parse-server

See parse-server push configuration

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.

see more logs

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 the 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 pushOptions = {
  ios: { /* iOS push options */ } ,
  android: { /* android push options */ }   
}
// starting 3.0.0
const options = {
  appId: "****",
  masterKey: "****",
  push: {
    adapter: new PushAdapter(pushOptions),
  },
  /* ... */ 
}

const server = new ParseServer(options);

/* continue with the initialization of parse-server */

parse-server-push-adapter's People

Contributors

flovilmart avatar davimacedo avatar funkenstrahlen avatar acinader avatar greenkeeper[bot] avatar dependabot[bot] avatar snyk-bot avatar jeffjen avatar leonluc-dev avatar dplewis avatar alexanderedge avatar simonegiacco avatar polo2244 avatar bnham avatar tomwfox avatar tingham avatar technowise avatar rogerhu avatar natanrolnik avatar mmazzarolo avatar amnell avatar mman avatar mtrezza avatar douglasmuraoka avatar 0x18b2ee avatar aontas avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.