parley-messaging / ios-library

Parley iOS app library
MIT License
2 stars 2 forks source link

Lazy loading of messages does sometimes not work when OfflineMessaging is disabled. #91

Closed mat1th closed 4 months ago

mat1th commented 4 months ago

Describe the bug When you disable OfflineMessaging in the example app and you scroll upwards. It will stop lazy loading the messages on some moment.

To Reproduce

  1. Set kOfflineMessagingEnabled to false in the IdentifierViewController.
  2. Start the example app.
  3. Open a new chat with a lot of messages.
  4. Scroll upwards to load the new messages.
  5. The lazy load loader will stay on top (see screenshot) and the oldest messages are not loaded.

Expected behaviour I do expect that the SDK lazy loads new messages when scrolling.

Screenshots loader

alexkok commented 4 months ago

Thanks for reporting! Fixed the issue in 4.1.2 🚀

nlamah commented 4 months ago

I found another case where this issue is happening. See this new issue: https://github.com/parley-messaging/ios-library/issues/126