Quick Start Guide
Get up and running with the@telnyx/react-voice-commons-sdk in just a few minutes!
Installation
Basic Setup
1. Wrap Your App
2. Create a Login Component
3. Make Your First Call
4. Listen to Connection State
That’s It
You now have a basic VoIP calling app! The SDK automatically handles:- Connection management - Automatic reconnection and lifecycle
- Call state management - Complete call state machine
- Background handling - App state transitions
- Authentication storage - Secure credential persistence
Next Steps
Add Push Notifications
For incoming calls when your app is in the background:- Push Notification Setup - Complete push notification guide
Native Integration
For production apps, you’ll need native integration:- Android Setup - MainActivity and Firebase setup
- iOS Setup - AppDelegate and VoIP push setup
Advanced Features
The SDK provides extensive capabilities for building production VoIP apps:- Call Management - Hold, mute, transfer, and conference calls (see Call API)
- Error Handling - Robust error handling patterns (see Error Handling Guide)
- State Management - RxJS observables and reactive patterns (see TelnyxVoipClient API)
Configuration Options
VoIP Client Options
TelnyxVoiceApp Options
Authentication Options
Credential-Based Authentication
Token-Based Authentication
Auto-Reconnection
Need Help?
- API Documentation - Complete API reference
- Push Notifications - Push notification setup
- Troubleshooting - Common issues and solutions
- Demo App - Full demo application source code