This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
loopback-push-notification with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
NOTE: The loopback-component-push module supersedes loopback-push-notification. Please update your package.json accordingly.
This module provides a set of LoopBack models to enable mobile device push notifications.
Please see the full documentation: Creating push notifications.
An example LoopBack server application is provided. To run
To run it:
cd example/server node app
Open your browser to http://127.0.0.1:3010.
By default, the app uses an in-memory store for the application/installation data. To change to a MongoDB instance, set the MONGODB environment variable to the MongoDB URL. For example,
MONGODB=mongodb://localhost/demo node app
The iOS example app uses LoopBack the LoopBack iOS SDK to enable and handle push notifications.
The Android example app uses LoopBack Android SDK to enable and handle push notifications.