You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever I get a new message from another user the <Channel /> component crashes. It crashes on the Avatar component from stream chat RN components. The is where it exactly crashes getResizedImageUrl,
uri:
!imageProp ||
imageProp.includes(randomImageBaseUrl) ||
imageProp.includes(randomSvgBaseUrl)
? imageProp?.includes(streamCDN)
? imageProp
: `${randomImageBaseUrl}${
name ? `?name=${getInitials(name)}&size=${size}` : ''
}`
: getResizedImageUrl({
height: size,
url: imageProp, // ---------- IT CRASHES ON THIS LINE, imageProp.includes is not a function ---------
width: size,
}),
Please note that all my users are not connected with avatar. Some users may have avatar, some users don't have any avatar. How can we fix this issue? Thanks!
The text was updated successfully, but these errors were encountered:
Whenever I get a new message from another user the
<Channel />
component crashes. It crashes on theAvatar
component from stream chat RN components. The is where it exactly crashesgetResizedImageUrl
,Please note that all my users are not connected with avatar. Some users may have avatar, some users don't have any avatar. How can we fix this issue? Thanks!
The text was updated successfully, but these errors were encountered: