LoopBack 3 has entered Maintenance long-term support (LTS), only critical bugs
and critical security fixes will be provided. We urge all LoopBack 3 users
to migrate their applications to LoopBack 4 as soon as possible. Learn more in
our blog post.
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.
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.