{"id":13839492,"url":"https://github.com/strongloop/loopback-component-push","last_synced_at":"2025-04-06T13:10:30.065Z","repository":{"id":9074174,"uuid":"10846437","full_name":"strongloop/loopback-component-push","owner":"strongloop","description":"Push notification component for LoopBack.","archived":false,"fork":false,"pushed_at":"2020-03-06T16:22:12.000Z","size":2421,"stargazers_count":96,"open_issues_count":0,"forks_count":95,"subscribers_count":36,"default_branch":"master","last_synced_at":"2024-05-09T23:41:58.050Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://loopback.io/doc/en/lb2/Push-notifications.html","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/strongloop.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null}},"created_at":"2013-06-21T16:06:22.000Z","updated_at":"2023-10-25T02:41:28.000Z","dependencies_parsed_at":"2022-09-17T00:02:33.518Z","dependency_job_id":null,"html_url":"https://github.com/strongloop/loopback-component-push","commit_stats":null,"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strongloop%2Floopback-component-push","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strongloop%2Floopback-component-push/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strongloop%2Floopback-component-push/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strongloop%2Floopback-component-push/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/strongloop","download_url":"https://codeload.github.com/strongloop/loopback-component-push/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247485287,"owners_count":20946398,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T17:00:28.078Z","updated_at":"2025-04-06T13:10:30.046Z","avatar_url":"https://github.com/strongloop.png","language":"JavaScript","funding_links":[],"categories":["Components"],"sub_categories":["Third Party"],"readme":"# LoopBack Push Notification Component\n\n**⚠️ LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical\nsecurity fixes will be provided. (See\n[Module Long Term Support Policy](#module-long-term-support-policy) below.)**\n\nWe urge all LoopBack 3 users to migrate their applications to LoopBack 4 as\nsoon as possible. Refer to our\n[Migration Guide](https://loopback.io/doc/en/lb4/migration-overview.html)\nfor more information on how to upgrade.\n\n## Overview\n\n\u003e StrongLoop Labs projects provide early access to advanced or experimental functionality.  In general, these projects may lack usability, completeness, documentation, and robustness, and may be outdated.\nHowever, StrongLoop supports these projects: Paying customers can open issues using the StrongLoop customer support system (Zendesk), and community users can report bugs on GitHub.\n\nThis module provides a set of LoopBack models to enable mobile device push notifications.\n\nPlease see the full documentation: [Push notifications](http://docs.strongloop.com/display/LB/Push+notifications).\n\n\u003e The loopback-component-push module supersedes [loopback-push-notification](https://www.npmjs.org/package/loopback-push-notification). Please update your package.json accordingly.\n\n## Architecture\n\n![push-notification.png](push-notification.png)\n\n## Key Components\n\n- Device model and APIs to manage devices with applications and users\n- Application model to provide push settings for device types such as ios and\nandroid\n- Notification model to capture notification messages and persist scheduled\nnotifications\n- Optional Job to take scheduled notification requests\n- Push connector that interact with device registration records and push\nproviders such as APNS, GCM, and MPNS\n- Push model to provide high level APIs for device-independent push notifications\n\n## Samples\n\n### Node.js server\n\nThis module includes an [example LoopBack server application](https://github.com/strongloop/loopback-example-push).  \n\nTo run it, use these commands:\n\n```shell\n$ cd example/server\n$ npm install\n$ bower install\n$ node app\n```\n\nOpen your browser to [http://127.0.0.1:3010](http://127.0.0.1:3010).\n\nBy default, the application uses an in-memory store for the application/installation data.\nTo change to a MongoDB instance, set the MONGODB environment variable to the MongoDB URL. For example,\n\n```shell\nMONGODB=mongodb://localhost/demo node app\n```\n\n### iOS client\n\nThe [iOS example app](https://github.com/strongloop/loopback-example-push/tree/master/ios)\nuses the LoopBack iOS SDK to enable and handle push notifications. \n\n### Android client\n\nThe [Android example app](https://github.com/strongloop/loopback-example-push/tree/master/android)\nuses the LoopBack Android SDK to enable and handle push notifications. \n\n## References\n\n- https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/ApplePushService.html\n- http://developer.android.com/google/gcm/index.html\n- http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202945(v=vs.105).aspx\n- https://github.com/argon/node-apn\n- https://github.com/logicalparadox/apnagent-ios\n- https://blog.engineyard.com/2013/developing-ios-push-notifications-nodejs\n\n## Module Long Term Support Policy\n\nThis module adopts the [\nModule Long Term Support (LTS)](http://github.com/CloudNativeJS/ModuleLTS) policy,\n with the following End Of Life (EOL) dates:\n\n| Version | Status          | Published | EOL      |\n| ------- | --------------- | --------- | -------- |\n| 3.x     | Maintenance LTS | Dec 2016  | Dec 2020 |\n\nLearn more about our LTS plan in [docs](https://loopback.io/doc/en/contrib/Long-term-support.html).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrongloop%2Floopback-component-push","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrongloop%2Floopback-component-push","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrongloop%2Floopback-component-push/lists"}