xmtp / libxmtp

LibXMTP is a shared library encapsulating the core functionality of the XMTP messaging protocol, such as cryptography, networking, and language bindings.
MIT License
42 stars 18 forks source link

Consent for allow/blocking of groups #510

Closed neekolas closed 6 months ago

neekolas commented 8 months ago

We want to add support for allow/block actions on groups

This should mirror the existing consent work in the platform SDKs, but with new methods for allowGroup and blockGroup available. The actions should allow specifying group_id instead of wallet_address.

### Tasks
- [x] Update proto repo to have AllowGroup and BlockGroup actions available https://github.com/xmtp/proto/blob/main/proto/message_contents/private_preferences.proto
- [x] iOS SDK support for reading and writing to this new preference
- [x] Android SDK support for reading and writing to this new preference
- [x] RN Support wrapping the iOS and Android actions
tuddman commented 8 months ago

PR for 1st task

tuddman commented 7 months ago

PR for Android

tuddman commented 7 months ago

PR for iOS

tuddman commented 6 months ago

PR for RN