Skip to content

Commit

Permalink
Added 3.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
rimdoo committed Jan 19, 2023
1 parent c9d2c6b commit 289556f
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 8 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

### v3.3.3 (Jan 19, 2023) with Chat SDK `v4.2.1`
* Improved stability

### v3.3.2 (Dec 09, 2022) with Chat SDK `v4.1.3`
* Support authenticated file caching
* Change the default value of `SendbirdUIKit.shouldUseImageCompression()` to `true`
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ org.gradle.jvmargs=-Xmx1536m
# https://developer.android.com/topic/libraries/support-library/androidx-rn
android.useAndroidX=true

UIKIT_VERSION = 3.3.2
UIKIT_VERSION = 3.3.3
UIKIT_VERSION_CODE = 1
2 changes: 1 addition & 1 deletion uikit-custom-sample/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<string name="text_settings_change_user_profile_image">Change profile image</string>

<string name="text_tab_channels">Channels</string>
<string name="text_tab_settings">My settings</string>
<string name="text_tab_settings">Settings</string>
<string name="text_tab_badge_max_count">99+</string>

<string name="text_sign_out">SIGN OUT</string>
Expand Down
2 changes: 1 addition & 1 deletion uikit-sample/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<string name="text_settings_change_user_profile_image">Change profile image</string>

<string name="text_tab_channels">Channels</string>
<string name="text_tab_settings">My settings</string>
<string name="text_tab_settings">Settings</string>
<string name="text_tab_badge_max_count">99+</string>

<string name="text_home">Home</string>
Expand Down
2 changes: 1 addition & 1 deletion uikit/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])

// Sendbird
api 'com.sendbird.sdk:sendbird-chat:4.1.3'
api 'com.sendbird.sdk:sendbird-chat:4.2.1'

implementation 'com.github.bumptech.glide:glide:4.13.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.13.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,7 @@ protected void onBindStatusComponent(@NonNull StatusComponent statusComponent, @
}

private synchronized void loadInitial(long startingPoint) {
if (!isFragmentAlive()) return;
isInitCallFinished.set(false);
getViewModel().loadInitial(startingPoint);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,12 +252,11 @@ protected void onReady(@NonNull ReadyStatus status, @NonNull OpenChannelModule m

module.getStatusComponent().notifyStatusChanged(StatusFrameView.Status.LOADING);
viewModel.enterChannel(channel, e -> {
if (!isFragmentAlive()) return;
module.getStatusComponent().notifyStatusChanged(StatusFrameView.Status.NONE);
if (e != null) {
if (isFragmentAlive()) {
toastError(R.string.sb_text_error_get_channel, getModule().getParams().shouldUseOverlayMode());
shouldActivityFinish();
}
toastError(R.string.sb_text_error_get_channel, getModule().getParams().shouldUseOverlayMode());
shouldActivityFinish();
return;
}
viewModel.loadInitial();
Expand Down

0 comments on commit 289556f

Please sign in to comment.