The SDK uses 2 delegates:
- LPMessagingSDKDelegate - for lifecycle and connectivity events.
LPMessagingSDK.instance.delegate = self
- LPMessagingSDKNotificationDelegate - for handling Push and In-App Notifications.
LPMessagingSDK.instance.registerPushNotifications(token: deviceToken, notificationDelegate: self)
You should implement and set the LPMessagingSDKNotificationDelegate, in order to receive Push Notifications from the SDK.