Instaleap

Shopper app staging builds

Version 3.56.3.205

Published on: 2025/12/04

Changelog:

Bug fixes and performance improvements.

This change refactors the chat initialization flow, moving the configuration loading from `ChatChannelActivity` to `ChatHolderFragment` and handling the UI setup reactively. - **ChatViewModel.kt**: - Modified `getConfig` to post to a new `initView` LiveData instead of accepting a callback. - Added `resourceId` property to cache the user ID, ensuring it is available for `sendMessage`, `connectChannel`, and status listeners without relying on the nullable `resource` object repeatedly. - **ChatHolderFragment.kt**: - Updated `ChatViewModel` delegation to `viewModel` (Fragment scoped) instead of `activityViewModel`. - `onViewCreated` now calls `getConfig` and observes `initView` before initializing the ViewPager and TabLayout. - **ChatChannelActivity.kt**: - Removed `ChatViewModel` usage; the navigation graph is now set immediately in `onCreate` without waiting for config callbacks. (cherry picked from commit fe786a7f511c6cebfc450352d82509f77b64afaf)


Download version