Push Notifications
Push delivery rails: a `push` notification delivery strategy that fans out to registered devices and sends through the communication_channels hub.
Found by static analysis of the 0.8.0 source. Links that only appear at runtime are not visible here.
Everything push_notifications needs outside the starter set is declared. 1 link into a starter module is not, and every app has it.
A newer release exists: push_notifications in 0.9.0.
Before you enable push_notifications in 0.8.0
3 modules its code requires
✓ 2 declared1 not declared, in every app
Enable these yourself, they are not in every starter app
Already enabled in every starter app: 2 modules.
1 more is optional: the module loses a feature without it.
It also declares in requires, with no use seen in code: auth, devices and integrations.
1 call could not be resolved. See Couldn't resolve.
Before you disable push_notifications in 0.8.0
3 modules require it in code
None of them declares it in requires.
Not declared by
requires ⚠ Gap into a module every starter app has (lower risk) Optional Collaboration In requires only, not seen in code In every starter appA dot takes its module's area colour. Each side lists the areas in the order of the map.Reads left to right: what uses it → push_notifications → what it needs. Select a module to go to its row.Needs
| Module | In code | requires | package.json |
|---|---|---|---|
Module: communication_channels | In code: Required · lib | requires: ✓ Declared | package.json: Same package |
6 places
| |||
Module: scheduler | In code: Optional · setup | requires: Not declared | package.json: ⚠ Not in package.json |
1 place
| |||
Module: devices | In code: Not seen in code | requires: ✓ Declared | package.json: Same package |
Declared in | |||
Module: integrations | In code: Not seen in code | requires: ✓ Declared | package.json: Same package |
Declared in | |||
In every app (3)
| Module | In code | requires | package.json |
|---|---|---|---|
Module: directory | In code: Required · api | requires: ⚠ Gap in every app | package.json: Same package |
3 places
| |||
Module: notifications | In code: Required · data, lib | requires: ✓ Declared | package.json: Same package |
4 places
| |||
Module: auth | In code: Not seen in code | requires: ✓ Declared | package.json: Same package |
Declared in | |||
Used by
| Module | In code | requires | package.json |
|---|---|---|---|
Module: channel_apns | In code: Required · lib | requires: ⚠ Gap | package.json: ✓ Declared |
2 places
| |||
Module: channel_expo | In code: Required · lib | requires: ⚠ Gap | package.json: ✓ Declared |
2 places
| |||
Module: channel_fcm | In code: Required · lib | requires: ⚠ Gap | package.json: ✓ Declared |
2 places
| |||
Couldn't resolve (1)
These calls pick a service by a variable, so static analysis can't tell which module they need. Check them in the code.
packages/core/src/modules/push_notifications/api/custom-send/route.ts:93·container.resolve(name)
Facts
Registers in DI (2)
PushNotificationDelivery·packages/core/src/modules/push_notifications/di.ts:15pushNotificationService·packages/core/src/modules/push_notifications/di.ts:18
Emits events (3)
push_notifications.delivery.failed·packages/core/src/modules/push_notifications/lib/push-delivery.ts:184push_notifications.delivery.failed·packages/core/src/modules/push_notifications/lib/push-delivery.ts:199push_notifications.delivery.failed·packages/core/src/modules/push_notifications/lib/push-reaper.ts:34
Entities (1)
PushNotificationDelivery·packages/core/src/modules/push_notifications/data/entities.ts:33