LoopBack 3 has reached end of life. We are no longer accepting pull requests or providing
support for community users. The only exception is fixes for critical bugs and security
vulnerabilities provided as part of support for IBM API Connect customers.
We urge all LoopBack 3 users to migrate their applications to LoopBack 4 as soon as possible.
Learn more about
LoopBack's long term support policy.
Warning:
As a former StrongLoop Labs project, the iOS SDK may lack usability, completeness, documentation, and robustness, and may be outdated. StrongLoop/IBM is no longer maintaining this project actively, however we do provide support for our paying customers through usual IBM support channels.
Page Contents
Overview
This article provides information on creating iOS apps that can get push notifications from a LoopBack application.
See Push notifications for information on creating the corresponding LoopBack server application.
The basic steps to set up push notifications for iOS clients are:
Provision an application with Apple and configure it to enable push notifications.
Provide a hook to receive the device token when the application launches and register it with the LoopBack server using the LBInstallation class.
Provide code to receive notifications, under three different application modes: foreground, background, and offline.