There is a bug in SwiftyScanner
What did you do?
I sent this url as a chat message:
https://salam.com/khubi?chetori=salam_chetori_khubi
What did you expect to happen?
I expect that the url shows exactly the same as we sent via other platforms
What happened instead?
in ios chat the url will show without underlines:
https://salam.com/khubi?chetori=salamchetorikhubi
GetStream Environment
GetStream Chat version: 4.38.0 GetStream Chat frameworks: StreamChat, StreamChatUI iOS version: all Swift version: all Xcode version: all Device: all
Additional context
I tracked the inputString through out the streamChatUI and found out that in SwiftyTokeniser at line 92 when you set elementArray = scanner.scan() it will detect those underlines as type ElementType.tag and this will cause the problem.
Hi @behrad-kzm,
We are sorry to hear there is this issue in the library. We will have a look as soon as we can.
Thank you!
Hello @behrad-kzm, we have released a new iOS SDK version 4.51.0 which addresses this issue.