Push Notifications universal-core module abstraction
npm install @universal-packages/core-push-notifications


Redis universal-core module abstraction.
``shell
npm install @universal-packages/core-push-notifications
npm install @universal-packages/core
`
`shell`
ucore initialize push-notifications
Core expose PushNotifications instance as the global subject if core modulesAsGlobals config is true.
`js`
pushNotificationsSubject.pushNotification([token], { title: 'Message', body: 'From your SO' })
`js`
core.coreModules.pushNotificationsModule.subject.pushNotification([token], { title: 'Message', body: 'From your SO' })
In order for typescript to see the global types you need to reference the types somewhere in your project, normally ./src/globals.d.ts.
`ts``
///
This library is developed in TypeScript and shipped fully typed.
The development of this library happens in the open on GitHub, and we are grateful to the community for contributing bugfixes and improvements. Read below to learn how you can take part in improving this library.
- Code of Conduct
- Contributing Guide