parse-server-modules / parse-server-onesignal-push-adapter

OneSignal push adapter for parse-server
MIT License
32 stars 28 forks source link

Fix badge count #32

Open carson-drake opened 7 years ago

carson-drake commented 7 years ago

Right now the data check for badge can't distinguish between data["badge"] === 0, data["badge"] === false, and typeOf data["badge"] === undefined. It also doesn't allow for badges to be set in the background without an "alert" property.