iOS app: ask ipx in protobuf, not JSON #469

Closed
opened 2026-11-16 15:38:50 -08:00 by rays · 1 comment
Owner

ipx speaks protobuf beside JSON since #465. The app's own calls (the badge's and CarPlay's /api/feeds, CarPlay's entry lists, the player's position and flags, and the outbox that holds those offline) still send and read JSON. Move them to application/x-protobuf, with Swift generated from crates/wire/proto by protoc-gen-swift and the SwiftProtobuf package.

ipx speaks protobuf beside JSON since #465. The app's own calls (the badge's and CarPlay's /api/feeds, CarPlay's entry lists, the player's position and flags, and the outbox that holds those offline) still send and read JSON. Move them to application/x-protobuf, with Swift generated from crates/wire/proto by protoc-gen-swift and the SwiftProtobuf package.
rays added the enhancement label 2026-11-16 15:38:50 -08:00
Author
Owner

Done in baa6661: the badge, CarPlay and the player read and write ipx's API as application/x-protobuf, from Swift generated off crates/wire/proto (ios/scripts/proto.sh, into ios/Sources/Wire), SwiftProtobuf 1.41.0. Writes an older build queued offline are still sent as JSON. Built for the simulator; not yet run against a server. Needs ipx with #465 deployed before it ships.

Done in baa6661: the badge, CarPlay and the player read and write ipx's API as application/x-protobuf, from Swift generated off crates/wire/proto (ios/scripts/proto.sh, into ios/Sources/Wire), SwiftProtobuf 1.41.0. Writes an older build queued offline are still sent as JSON. Built for the simulator; not yet run against a server. Needs ipx with #465 deployed before it ships.
rays closed this issue 2026-11-16 16:02:44 -08:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rays/ipx#469