-
Notifications
You must be signed in to change notification settings - Fork 312
Remove stream-chat-android-state module and move state support to stream-chat-android-client
#6069
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
VelikovPetar
merged 22 commits into
v7
from
feature/AND-775_move_state_support_to_client
Feb 13, 2026
Merged
Remove stream-chat-android-state module and move state support to stream-chat-android-client
#6069
VelikovPetar
merged 22 commits into
v7
from
feature/AND-775_move_state_support_to_client
Feb 13, 2026
+1,357
−4,561
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Conflicts: # stream-chat-android-state/src/main/java/io/getstream/chat/android/state/utils/internal/ChannelUtils.kt # stream-chat-android-state/src/main/java/io/getstream/chat/android/state/utils/internal/CustomObjectFiltering.kt # stream-chat-android-state/src/test/java/io/getstream/chat/android/state/utils/CustomObjectFilteringTest.kt
Contributor
SDK Size Comparison 📏
|
…rt_to_client' into feature/AND-775_move_state_support_to_client # Conflicts: # stream-chat-android-client/src/test/java/io/getstream/chat/android/client/internal/state/plugin/listener/internal/SendGiphyListenerStateTest.kt
# Conflicts: # stream-chat-android-client/src/main/java/io/getstream/chat/android/client/internal/state/plugin/logic/channel/internal/ChannelEventHandler.kt # stream-chat-android-client/src/main/java/io/getstream/chat/android/client/internal/state/plugin/logic/channel/internal/ChannelLogic.kt # stream-chat-android-client/src/main/java/io/getstream/chat/android/client/internal/state/plugin/logic/channel/internal/ChannelLogicImpl.kt # stream-chat-android-client/src/main/java/io/getstream/chat/android/client/internal/state/plugin/logic/internal/LogicRegistry.kt # stream-chat-android-client/src/test/java/io/getstream/chat/android/client/internal/state/channel/controller/WhenHandleEvent.kt # stream-chat-android-client/src/test/java/io/getstream/chat/android/client/internal/state/plugin/logic/channel/internal/ChannelEventHandlerTest.kt
gpunto
approved these changes
Jan 9, 2026
stream-chat-android-client/src/main/java/io/getstream/chat/android/client/ChatClient.kt
Show resolved
Hide resolved
# Conflicts: # fastlane/Fastfile # settings.gradle.kts # stream-chat-android-ui-common/build.gradle.kts # stream-chat-android-ui-components/src/main/kotlin/io/getstream/chat/android/ui/viewmodel/channels/ChannelListViewModel.kt # stream-chat-android-ui-utils/build.gradle.kts
# Conflicts: # stream-chat-android-state/detekt-baseline.xml
# Conflicts: # stream-chat-android-client/src/main/java/io/getstream/chat/android/client/ChatClient.kt # stream-chat-android-state/build.gradle.kts # stream-chat-android-ui-common/src/test/kotlin/io/getstream/chat/android/ui/common/feature/messages/composer/MessageComposerControllerTest.kt
# Conflicts: # scripts/local-release.sh # stream-chat-android-client/src/main/java/io/getstream/chat/android/client/internal/state/event/handler/internal/EventHandlerSequential.kt # stream-chat-android-client/src/main/java/io/getstream/chat/android/client/internal/state/model/querychannels/pagination/internal/QueryChannelsPaginationRequest.kt # stream-chat-android-client/src/main/java/io/getstream/chat/android/client/internal/state/plugin/logic/channel/internal/ChannelStateLogic.kt # stream-chat-android-client/src/test/java/io/getstream/chat/android/client/internal/state/internal/extensions/ChannelExtensionsTest.kt # stream-chat-android-state/build.gradle.kts
Contributor
PR checklist ✅All required conditions are satisfied:
🎉 Great job! This PR is ready for review. |
# Conflicts: # stream-chat-android-client/src/main/java/io/getstream/chat/android/client/internal/state/model/querychannels/pagination/internal/Mapper.kt # stream-chat-android-compose/api/stream-chat-android-compose.api # stream-chat-android-state/detekt-baseline.xml # stream-chat-android-ui-components/api/stream-chat-android-ui-components.api
stream-chat-android-state module and move state support to stream-chat-android-client
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.


Goal
Removes the
stream-chat-android-statemodule and moves theStreamStatePluginFactory/StatePluginto the LLC (stream-chat-android-client).Implementation
clientmodule:internalclasses to the packageio.getstream.chat.android.client.internal.state, andpublicclasses toio.getstream.chat.android.client.api.stateStreamStatePluginFactoryin now marked asInternalStreamChatApito disallow instantiation. (note: will be madeinternalin an upcoming PR)StateConfig(previously namedStatePluginConfig), via theChatClient.Builder.stateConfig(StateConfig)methodStatePluginis now always instantiated in theChatClient, there is no option to opt-out of itTesting
There should be no functional differences - test with either the Compose or XML SDKs and everything should work as before.