Skip to content

Commit d1de887

Browse files
authored
Merge pull request #15 from sendbird/feature/mininny/update-readme
Update README.md
2 parents d3e05fe + 81dc7c8 commit d1de887

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ SendBirdCall.configure("YOUR_APP_ID")
7777
6. If two iOS devices are available, repeat these steps to install the sample application on both the primary device and the secondary device.
7878

7979
## Registering push tokens
80+
In order to make and receive calls, authenticate the user with SendBird server with the `SendBirdCall.authenticate(with:)` method and **register a VoIP push token** to SendBird. You can register a VoIP push token during authentication by either providing it as a parameter in the `authenticate()` method, or after authentication has completed using the `SendBirdCall.registerVoIPPush(token:)` method. VoIP Push Notification will also enable receiving calls even when the app is in the background or terminated state. A valid APNS certificate also needs to be registered on the `SendBird Dashboard` : `Application``Settings``Notifications``Add certificate`.
81+
8082
To handle a native-implementation of receiving incoming calls, you can choose to implement Apple’s [PushKit framework](https://developer.apple.com/documentation/pushkit) and CallKit. This is done by registering device tokens associate with your SendBird Applications. For more information refer to Apple’s [Voice Over IP (VoIP) Best Practices
8183
](https://developer.apple.com/library/archive/documentation/Performance/Conceptual/EnergyGuide-iOS/OptimizeVoIP.html)
8284

0 commit comments

Comments
 (0)