-
Notifications
You must be signed in to change notification settings - Fork 349
Closed
Description
Describe the bug
Crash on image upload
Dev environment info (please complete/provide the following information):
- Package version (stream-chat-react-native)
- react-native
- Device/Emulator - ios
- stream version 0.13.1
To Reproduce
Steps to reproduce the behavior:
const promises = [
channel.sendImage(
imageUri
)
];
const results = await Promise.all(promises);
const attachments = results.map(response => {
return {
type: 'image',
thumb_url: response.file,
asset_url: response.file,
};
});
const response = await channel.sendMessage({
text: text,
attachments,
});
Expected behavior
Upload works without crashing
Additional context
User token initialisation using - chat.devToken()
gz#4473
imoby and joaoschaab
Metadata
Metadata
Assignees
Labels
No labels