client-sdk-react-native icon indicating copy to clipboard operation
client-sdk-react-native copied to clipboard

Unable to send message using useChat

Open superbahbi opened this issue 1 year ago • 0 comments

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:

  1. Import useChat
  2. 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.

superbahbi avatar Dec 21 '24 18:12 superbahbi