enableVoIP()
Note: This API is supported from version 10.0.0.
The enableVoIP() API enables VoIP push notifications in your iOS application, allowing users to receive incoming call alerts via Apple Push Notification service (APNs).
Parameter:
- token(String): The VoIP device token registered with APNs.
- isTestDevice(Bool): Indicates whether the device is running in a test environment (e.g., during development).
- mode(APNSMode): Specifies the APNs environment (.sandbox for development, .production for live deployment).
Example
Copied