VoIP notifications
Learn how to send VoIP push notifications with OneSignal on both Android and iOS, including setup requirements, best practices, and testing tips.
Overview
OneSignal supports sending VoIP notifications on both Android and iOS platforms. However, the OneSignal SDK does not currently support VoIP token registration. This guide explains how to configure VoIP notifications manually using OneSignal’s API and platform setup.
Android VoIP setup
Unlike iOS, Android does not use a dedicated “VoIP push” type. You can achieve VoIP-like behavior using data-only push notifications to start an Activity
or present custom UI.
If you want to launch a native UI (e.g., incoming call screen), use Android’s NotificationExtenderService
to override the notification behavior.
For further guidance:
- Android’s official guide for setting up a calling app
- Medium post: Show incoming VoIP call notification and open activity for Android OS > 10
iOS VoIP setup
Add PushKit to your app
Use Apple’s PushKit API to register and receive a VoIP token. Refer to Apple’s VoIP Best Practices for implementation tips.
Create a new OneSignal app for VoIP users
You must maintain two separate OneSignal apps:
- Main Push App: For standard push notifications
- VoIP App: For VoIP-specific notifications
Make sure to upload a VoIP Services Certificate (.p12) for the VoIP app, using the same bundle ID as your main app.
p12 in Keychain Access
VoIP certificate screenshot
Register device with VoIP token
Use the Create User API to register the VoIP token with your VoIP-dedicated OneSignal app.
Note: If you’re registering a device in a development/sandbox environment, include the "test_type": 1
property. Omitting this can cause "Mismatched Subscription Environment"
errors or notification failures.
To update the token later, use the Update Subscription API.
Send VoIP notifications
Use the Create Notification API and include the following parameters:
"apns_push_type_override": "voip"
- The
app_id
of your VoIP app