feat: integrate flutter_local_notifications for enhanced voice call notifications

- Added flutter_local_notifications dependency to manage notifications during voice calls.
- Implemented notification handling in VoiceCallService to update call status and manage user interactions.
- Enabled wake lock functionality to keep the screen on during calls and prevent audio interruptions.
- Updated AndroidManifest.xml to include necessary permissions for Bluetooth and foreground services.
- Enhanced notification actions to allow users to mute, unmute, or end calls directly from notifications.
This commit is contained in:
cogwheel0
2025-10-09 00:01:35 +05:30
parent c99682d6a3
commit e98f5cbf0f
9 changed files with 400 additions and 2 deletions

View File

@@ -67,6 +67,7 @@ dependencies:
share_plus: ^12.0.0
share_handler: ^0.0.19
riverpod_annotation: ^3.0.0
flutter_local_notifications: ^19.4.2
# Clipboard functionality is available through flutter/services (part of Flutter SDK)