client-sdk-react-native
client-sdk-react-native copied to clipboard
Unable to send message using useChat
Describe the bug
The send function in useChat is not working as expected, preventing messages from being sent.
To Reproduce
Steps to reproduce the behavior:
- Import useChat
- Call the send function.
Expected behavior
Messages should be sent successfully when using the send function.
Screenshots
If applicable, add screenshots to help explain your problem.
Device Info:
- Device: iPhone13
- OS: IOS 18.1
Dependencies Info (please reference your package-lock.json or yarn.lock file):
- @livekit/react-native: 2.4.3
Additional context
This issue may be related to generating a UUID with crypto in React Native. Please investigate if the method used for UUID generation is compatible with the current environment.