Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support custom content types with prepareMessage #195

Closed
nplasterer opened this issue Jan 2, 2024 · 1 comment
Closed

Support custom content types with prepareMessage #195

nplasterer opened this issue Jan 2, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@nplasterer
Copy link
Contributor

The RN SDK didn’t support custom content types in the conversation.prepareMessage method!
The support for custom content types seems to have introduced a SendOptions parameter to conversation.send in which we can specify a custom JS content type. Most integrators never use conversation.send directly, instead using conversation.prepareMessage and the sendPreparedMessage method (imported directly from the SDK import { sendPreparedMessage } from "@xmtp/react-native-sdk")

@nplasterer nplasterer added the bug Something isn't working label Jan 2, 2024
@alexrisch
Copy link
Contributor

Fixed in #198

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants