[Android][0] and [Desktop][1] have already removed this field. This follows suit. The highlights: - `SignalService.proto` removes some fields by making them `reserved` - `ProtoWrappers.py` updates our code generation to support addresses that only have a UUID (previously, you needed both a UUID and E164 field) - Most everything else is removing E164s [0]: |
||
|---|---|---|
| .. | ||
| ContactDiscovery.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