sip_voip_plugin 1.0.5
sip_voip_plugin: ^1.0.5 copied to clipboard
A simple Flutter plugin for SIP VoIP calling with CallKit support. Supports single and multi-account SIP registrations.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.5 - 2026-01-27 #
Fixed #
- Fixed iOS multi-account incoming calls not being received - CallKit now properly executes on main thread
- iOS CallKit requires main thread execution, now using
SchedulerBinding.addPostFrameCallback()to ensure proper execution - Added timeout protection and enhanced error handling for CallKit UI display
- Improved iOS-specific logging for debugging CallKit issues
Changed #
- Enhanced multi-account CallKit integration to ensure main thread execution for iOS compatibility
- Added proper thread scheduling for iOS CallKit operations
1.0.4 - 2026-01-27 #
Fixed #
- Fixed issue where new calls weren't received after a previous call ended
- Improved call state cleanup when calls end - now properly clears all tracking data
- Fixed call ID tracking to prevent blocking subsequent calls
- Enhanced call state reset logic for both single and multi-account scenarios
- Improved cleanup of CallKit mappings when calls end
Changed #
- Enhanced call state management to ensure proper reset after call termination
- Added comprehensive cleanup of call tracking data (call IDs, CallKit mappings)
- Improved logging for call state transitions and cleanup operations
1.0.3 - 2026-01-27 #
Fixed #
- Fixed multi-account incoming call detection - calls now properly arrive and display CallKit UI
- Improved incoming call state detection logic for multi-account scenarios
- Added account ID mapping for CallKit events to properly route calls to correct accounts
- Enhanced caller information extraction for multi-account calls
- Added detailed logging for debugging multi-account call handling
Changed #
- Updated
VoipService.showIncomingCall()to return CallKit call ID and support account ID parameter - Made call state handlers async to support proper CallKit integration
1.0.2 - 2026-01-27 #
Fixed #
- Fixed compilation error: Removed incorrect
awaitkeyword fromunregister()calls SIPUAHelper.unregister()returnsvoid, notFuture<void>, so it cannot be awaited
1.0.1 - 2026-01-27 #
Fixed #
- Fixed SDK version constraint from
^3.10.7to>=2.17.0 <4.0.0for broader compatibility - Updated Flutter constraint to
>=2.5.0to support older Flutter versions
Changed #
- Made SDK constraints more flexible to work with older Flutter/Dart versions
- Plugin now compatible with Dart SDK 2.17.0+ and Flutter 2.5.0+
1.0.0 - 2026-01-26 #
Added #
- Initial release
- Single account SIP registration support
- Multi-account SIP registration support
- CallKit integration for iOS and Android
- Automatic reconnection on network disconnect
- Comprehensive call state management
- WebSocket (WSS) and TCP/UDP transport support
- Incoming call handling with native UI
- Call state callbacks and event handling
- Detailed logging and error handling
- Example apps for single and multi-account usage
- Complete documentation and guides
Features #
- Simple API for VoIP calling
- Automatic CallKit UI for incoming calls
- Support for multiple SIP accounts simultaneously
- Account-specific call management
- Transport state monitoring
- Caller ID extraction from SIP headers
- Duplicate call prevention
- Permission handling