iOS
This document describes how to set up notification features for the Hive SDK for iOS.
Push notification settings¶
If you don't enable push notification settings, push tokens will not be issued on iOS 10 devices and your app may be rejected during app review due to "Missing Push Notification Entitlement". Follow the steps below to set up push notifications:
- Select your project in the Project Navigator window in the Xcode project window.
- Select your app in the TARGETS list.
- Click on the Capabilities tab.
-
Turn ON the Push Notification item on the Capabilities tab.
-
To use the time-sensitive notification feature, turn ON the Time Sensitive Notifications item in the Capabilities list. Time Sensitive Notifications are available on iOS 15 or later, and allow users to receive remote pushes from apps that have enabled time-sensitive notifications.
Hive console settings: remote push¶
To use remote Push, you need to obtain a Push certificate from the Apple console and register it in the Hive console.