Push Notification App Setup
VoIP Push - App Setup
The following setup is required in your application to receive Telnyx VoIP push notifications:a. Add Push Notifications capability to your Xcode project
- Open the xcode workspace associated with your app.
- In the Project Navigator (the left-hand menu), select the project icon that represents your mobile app.
- In the top-left corner of the right-hand pane in Xcode, select your app’s target.
- Press the +Capabilities button.

- Enable Push Notifications

b. Configure PushKit into your app:
- Import pushkit
- Initialize PushKit:
- Implement PKPushRegistryDelegate
- If everything is correctly set-up when the app runs APNS should assign a Push Token.
- In order to receive VoIP push notifications. You will need to send your push token when connecting to the Telnyx Client.
- You will need to login at least once to send your device token to Telnyx before start getting Push notifications.
- You will need to provide
pushMetaDatatoprocessVoIPNotification()to get Push calls to work. - You will need to implement ‘CallKit’ to report an incoming call when there’s a VoIP push notification. On iOS 13.0 and later, if you fail to report a call to CallKit, the system will terminate your app. More information on Apple docs