Protocol version field in the message contract #53
Labels
No labels
area:companion
area:docs
area:shared
area:tooling
area:watchapp
blocker
kind:chore
kind:feature
kind:spike
kind:test
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
robert/PedalPebble#53
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
The watchapp and the companion are installed and updated independently - you will sideload a new watchapp and forget the APK, or the reverse. Without a version field the failure mode is subtly wrong numbers rather than an honest error.
Acceptance criteria
shared/message_keys.jsonand generated into both sidesFiles
shared/message_keys.jsonwatchapp/src/c/proto.ccompanion/.../pebble/Proto.ktNotes
Cheap now, painful to retrofit - this is why it lands in Phase 0 alongside #7 rather than later.
Update — 2026-09-02: say what a mismatch actually does
"Surfaced, not tolerated" did not say whether the app refuses to run or degrades (D46).
version each side speaks
showing none
PROTOCOL §4 do