Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Draft integration for secure Pebble notification forwarding through the iOS 26.5 AccessoryNotifications and AccessoryTransportExtension APIs. The bridge is off by default. Existing phone-hosted Bluetooth connections and Android behavior remain on their current paths.
This ports the protocol, three ExtensionKit roles, app-side enrollment/authorization flow, and watch transport coordination from a locally tested Pebble integration into current
master. It includes signed session framing, owner/watch identity checks, explicit enrollment consent, receipt/queue handling, removal/reply/clear paths, and focused host regressions.Scope and compatibility
PebbleNotificationsEnableddefaults tofalsein the app and extensions. ASK Bluetooth radio ownership is selected only for an explicit compatible build.PebbleProtocolsupports 15.6.docs/ios-secure-notification-forwarding.md.CBPeripheralManagerand recovery firmware block an app-only rollout. The default branch must not turn this on until a compatible firmware path and legacy-watch behavior are agreed.Verification performed
python3 tests/notification_forwarding_host.py— passed.python3 tests/transport_message_queue.py— passed.python3 tests/watch_accessory_link_timeout.py— passed.PebbleProtocol,PebbleForwarding, and all three ExtensionKit targets — passed with Xcode 27, signing disabled.:libpebble3:compileKotlinIosSimulatorArm64,:composeApp:compileKotlinIosSimulatorArm64, and:composeApp:linkDebugFrameworkIosSimulatorArm64— passed with local JDK 17. The local Xcode 27 CocoaPods targets needed a temporary iOS 15.6 deployment override for generated Pods; that override is not in this PR.iosAppsimulator arm64 build — passed with signing disabled, generated Pods, and a synthetic ignored Firebase plist. The synthetic file was removed after the build.git diff --check, plist validation, and a source scan for local identifiers, absolute machine paths, private-key markers, and credentials — passed for the changed payload.Before merge or rollout
CONTRIBUTING.md.Provenance and disclosure
Portions of notification handling are adapted from shinvou/NotifBridge revision
0753ba7168d03c6f4363b6a369422fec25be7538under MIT; the full notice is inNOTIFBRIDGE-NOTICE.md. This contribution used AI assistance for code adaptation, integration, and review. I reviewed the resulting source and ran the checks above.