Skip to content

Add persistent notification with lock control actions#7

Open
donpablitoooooooo wants to merge 1 commit intotedee-com:mainfrom
donpablitoooooooo:claude/persistent-lock-notification-01AosL56MAvBSarj439Aiy66
Open

Add persistent notification with lock control actions#7
donpablitoooooooo wants to merge 1 commit intotedee-com:mainfrom
donpablitoooooooo:claude/persistent-lock-notification-01AosL56MAvBSarj439Aiy66

Conversation

@donpablitoooooooo
Copy link

Implemented a persistent notification feature that allows users to control their lock via notification actions (Open, Close, Pull Spring) with automatic connection handling.

Features:

  • NotificationManager: Handles persistent notifications with action buttons
  • Auto-connect: Automatically connects to lock when action is triggered
  • Background modes: Added bluetooth-central capability for BLE in background
  • UI controls: Added buttons to show/hide persistent notification

Changes:

  • Created NotificationManager.swift for notification handling
  • Extended ContentViewModel with handleNotificationAction method
  • Updated tedee_exampleApp.swift to initialize notification system
  • Added persistent notification controls to ContentView
  • Configured background modes in project settings

Implemented a persistent notification feature that allows users to control their lock via notification actions (Open, Close, Pull Spring) with automatic connection handling.

Features:
- NotificationManager: Handles persistent notifications with action buttons
- Auto-connect: Automatically connects to lock when action is triggered
- Background modes: Added bluetooth-central capability for BLE in background
- UI controls: Added buttons to show/hide persistent notification

Changes:
- Created NotificationManager.swift for notification handling
- Extended ContentViewModel with handleNotificationAction method
- Updated tedee_exampleApp.swift to initialize notification system
- Added persistent notification controls to ContentView
- Configured background modes in project settings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants