* Add CallEvent sync message proto * Add CallRecord class and db table * Renames and comments for clarity * create and update CallRecord from local device call events * Handle incoming call event sync messages * Add outgoing call sync event piping * Send call event sync messages * Handle call record sync messages before the app is launched * Mark TSCall interactions as read and update their status when getting call event sync messages * Prevent CallKit race conditions by checking state before creating TSCall interactions * Update chat call event text for unanswered and declined calls * Remove incorrect debug assert which fires every time a call is missed in the background * PR comments, mostly nits * convert old debug assert into a log + task comment * nit * Update copy for in chat call logs * Smaller PR comments * Add foreign key to CallRecord's interactionUniqueId * Update write transaction ordering comment * run genstrings * fix strings |
||
|---|---|---|
| .. | ||
| cdsi.proto | ||
| DeviceTransfer.proto | ||
| Fingerprint.proto | ||
| Groups.proto | ||
| KeyBackup.proto | ||
| Makefile | ||
| Provisioning.proto | ||
| README.md | ||
| SessionRecord.proto | ||
| SignalIOS.proto | ||
| SignalService.proto | ||
| StorageService.proto | ||
| WebSocketResources.proto | ||
SignalServiceKit Protobufs
These protobuf definitions are copied from Signal-Android, but modified to match some iOS conventions.
Prerequisites
Install Apple's swift-protobuf (not the similarly named protobuf-swift)
brew install swift-protobuf
This should install an up to date protobuf package as a dependency. Note that since we use the legacy proto2 format, we need to specify this in our .proto files.
syntax = "proto2";
Building Protobuf
cd ~/src/WhisperSystems/SignalServiceKit/protobuf
make