Implement correct notification permissions for iOS and macOS

- Add timezone as direct dependency (per lint rules)
- Update initialization to set all permissions to false
- Add separate macOS initialization settings
- Implement platform-specific permission requests for iOS and macOS
- Follow recommended pattern from flutter_local_notifications docs

Co-authored-by: dz0ny <239513+dz0ny@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-10-30 23:35:48 +00:00
parent 141334d400
commit 5d8de532cc
2 changed files with 45 additions and 8 deletions

View File

@@ -89,6 +89,7 @@ dependencies:
# Notifications
flutter_local_notifications: ^19.5.0
timezone: ^0.9.0 # Required for scheduled notifications (direct dependency per lint rules)
# Vibration
vibration: ^3.1.4