Meteor-Community-Packages / Meteor-Community-Packages/raix-push
Only "Badges" instead of "Badges, Sounds, Banners" in Notifications settings
- Dominant language
- JavaScript
- Stars
- 505
- Forks
- 191
- PR merge metrics
- No merged PRs in 30d
Description
In the Notifications section in the Settings app, my app only has "Badges" under it where it should have "Badges, Sounds, Banners".
Due to this I don't get "notified" when a new notification comes in, i.e. no banner, no sound, no vibrations. The notification shows up in the notifications tray and on lock screen and the badge number updates, but there are no alerts.
Any ideas how to fix this?
My config.push.json looks like this:
{
"apn": {
"passphrase": "passphrase",
"key": "PushChatKey.pem",
"cert": "PushChatCert.pem"
},
"production":false,
"badge": true,
"sound": true,
"alert": true,
"vibrate": true
}
And I send the notification like this:
Push.send({
from: 'Test',
title: 'Hello',
text: 'World',
badge: 4,
query: {},
sound: 'default'
});
Contributor guide
Research direction
Start by reviewing the config.push.json settings and the Push.send payload shown in the issue, then reproduce the notification behavior on iOS. Compare the resulting Notifications settings and delivered notification behavior with the expected badges, sounds, banners, and vibration; done means the missing alert options are explained and the issue has a reproducible fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, javascript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100