Open bhorvinayak opened 6 years ago
@bhorvinayak Can you check that message with a specific uid
never changes it's type
value? Currently, it's not supported.
@AntonPalich Yes I checked uid is a string type but still getting crash.
@AntonPalich and also getting warning Cast from 'UICollectionViewCell' to unrelated type 'BaseMessageCollectionViewCell
guard let cell1 = cell as? CellT else {
assert(false, "Invalid cell given to presenter")
return
}
@AntonPalich dynamic API text messages working fine but populating images create an issue. Otherwise it works Great and awesome, responsive.
@bhorvinayak Could you post a full stack trace when assertion happens and your createPresenterBuilders
function implementation? Also, check that all messages uid
are unique.
I never change anything from the createPresenter function also related class. Actually, I populated two images like stickers for 7-8 times. That's not unique. Is that reason behind crashing?
I populated API data on chat view controller. Not able to receive photo messages. When someone send a photo message then app crash in BaseMessagePresenter's configure cell function.
Error in line no 88 :Assertion failed: Invalid cell given to presenter issue
`