Skip to content

Commit c9d2c6b

Browse files
author
rimdoo
committed
Added 3.3.2
1 parent f3c7800 commit c9d2c6b

37 files changed

+544
-244
lines changed

CHANGELOG.md

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
# Changelog
22

3-
### v3.3.1 (Nov 21, 2022) with Core SDK `v4.1.3`
3+
### v3.3.2 (Dec 09, 2022) with Chat SDK `v4.1.3`
4+
* Support authenticated file caching
5+
* Change the default value of `SendbirdUIKit.shouldUseImageCompression()` to `true`
6+
* Change the default value of `SendbirdUIKit.getCompressQuality()` to `70`
7+
* Improved message input dialog mode
8+
* Improved stability
9+
10+
### v3.3.1 (Nov 21, 2022) with Chat SDK `v4.1.3`
411
* Fixed message update issue when an app is built with Proguard on
512
* Improved stability
613

7-
### v3.3.0 (Nov 10, 2022) with Core SDK `v4.1.1`
14+
### v3.3.0 (Nov 10, 2022) with Chat SDK `v4.1.1`
815
* Support thread type in GroupChannel
916
* Added `THREAD` in `ReplyType`
1017
* Added `enum ThreadReplySelectType { PARENT, THREAD }`
@@ -27,14 +34,14 @@
2734
* Added `setUseBanner(boolean)` in `MessageListComponent.Params`
2835
* Added `setUseUserIdForNickname(boolean)` and `isUsingUserIdForNickname()` in `SendbirdUIKit`
2936

30-
### v3.2.2 (Oct 27, 2022) with Core SDK `v4.1.1`
37+
### v3.2.2 (Oct 27, 2022) with Chat SDK `v4.1.1`
3138
* Added `setOnScrollFirstButtonClickListener(OnConsumableClickListener)` in `ChannelFragment.Builder` and `OpenChannelFragment.Builder`
3239
* Added `scrollToFirst()`, `setOnScrollFirstButtonClickListener(OnConsumableClickListener)`, and `onScrollFirstButtonClicked(View)` in `MessageListComponent` and `OpemChannelMessageListComponent`
3340
* Deprecated `setOnScrollBottomButtonClickListener(View.OnClickListener)` in `ChannelFragment.Builder` and `OpenChannelFragment.Builder`
3441
* Deprecated `scrollToBottom()`, `setOnScrollBottomButtonClickListener(View.OnClickListener)`, and `onScrollBottomButtonClicked(View)` in `MessageListComponent` and `OpemChannelMessageListComponent`
3542
* Improved stability
3643

37-
### v3.2.1 (Sep 29, 2022) with Core SDK `v4.0.9`
44+
### v3.2.1 (Sep 29, 2022) with Chat SDK `v4.0.9`
3845
* Added `takeVideo()` in `ChannelFragment` and `OpenChannelFragment`
3946
* Support custom font in message bubble and input filed.
4047
* Added `setRepliedMessageTextUIConfig(TextUIConfig)`, and `setMessageInputTextUIConfig(TextUIConfig)` in `ChannelFragment.Builder`
@@ -44,15 +51,15 @@
4451
* Added `setRepliedMessageTextUIConfig(TextUIConfig)` in `MessageListComponent.Params`
4552
* Added `setCustomFontRes(int)` in `TextUIConfig.Builder`
4653

47-
### v3.2.0 (Sep 15, 2022) with Core SDK `v4.0.8`
54+
### v3.2.0 (Sep 15, 2022) with Chat SDK `v4.0.8`
4855
* Support OpenChannel list
4956
* Added `OpenChannelListActivity`, `OpenChannelListFragment`, `OpenChannelListModule`, `OpenChannelListViewModel`, `OpenChannelListComponent`, and `OpenChannelListAdapter`
5057
* Added `CreateOpenChannelActivity`, `CreateOpenChannelFragment`, `CreateOpenChannelModule`, `CreateOpenChannelViewModel`, and `ChannelProfileInputComponent`
5158
* Moved widgets class into internal package.
5259
* `setCustomFragment()` functions have been added in the all Fragment.Builder class
5360
* Improved stability
5461

55-
### v3.1.1 (Aug 17, 2022) with Core SDK `v4.0.5`
62+
### v3.1.1 (Aug 17, 2022) with Chat SDK `v4.0.5`
5663
* Added `setMessageTextUIConfig(TextUIConfig, TextUIConfig)` in `ChannelFragment.Builder`, `OpenChannelFragment.Builder`, `MessageListComponent.Params`, `OpenChannelMessageListComponent.Params`
5764
* Added `setSentAtTextUIConfig(TextUIConfig, TextUIConfig)` in `ChannelFragment.Builder`, `OpenChannelFragment.Builder`, `MessageListComponent.Params`, `OpenChannelMessageListComponent.Params`
5865
* Added `setNicknameTextUIConfig(TextUIConfig)` in `ChannelFragment.Builder`, `MessageListComponent.Params`
@@ -66,7 +73,7 @@
6673
* Added `setLinkedTextColor(int)` in `ChannelFragment.Builder`, `OpenChannelFragment.Builder`
6774
* Added `setLinkedTextColor(ColorStateList)` in `MessageListComponent.Params`, `OpenChannelMessageListComponent.Params`
6875

69-
### v3.1.0 (Aug 3, 2022) with Core SDK `v4.0.5`
76+
### v3.1.0 (Aug 3, 2022) with Chat SDK `v4.0.5`
7077
* Support Android 13
7178
* Set the `maxSdkVersion` of `android.permission.READ_EXTERNAL_STORAGE` to `32`
7279
* Removed `android.permission.REQUEST_INSTALL_PACKAGES` permission
@@ -80,7 +87,7 @@
8087
* Added `newOpenChannelModerationFragment()`, `newOpenChannelOperatorListFragment()`, `newOpenChannelRegisterOperatorFragment()`, `newOpenChannelMutedParticipantListFragment()`, `newOpenChannelBannedUserListFragment()` in `UIKitFragmentFactory`
8188
* Improved stability
8289

83-
### v3.0.0 (Jul 12, 2022) with Core SDK `v4.0.4`
90+
### v3.0.0 (Jul 12, 2022) with Chat SDK `v4.0.4`
8491
* Support `modules` and `components` in the UIKit
8592
* Added `setEditedTextMarkUIConfig(TextUIConfig, TextUIConfig)` in `OpenChannelFragment.Builder`
8693
* Rename `PromoteOperator` to `RegisterOperator`
@@ -99,7 +106,7 @@
99106
* See more details and breaking changes. [[details](/changelogs/BREAKINGCHANGES_V3.md)]
100107
* See the Migration Guide for Converting V2 to V3. [[details](/changelogs/MIGRATIONGUIDE_V3.md)]
101108

102-
### v3.0.0-beta.3 (Jun 02, 2022) with Core SDK `v3.1.14`
109+
### v3.0.0-beta.3 (Jun 02, 2022) with Chat SDK `v3.1.14`
103110
* Synchronized Builder methods and Params methods
104111
* Added `setErrorText()` in `BannedUserListFragment.Builder`, `ChannelListFragment.Builder`, `MemberListFragment.Builder`, `MutedMemberListFragment.Builder`, `OperatorListFragment.Builder`
105112
* Added `setOnInputRightButtonClickListener()`, `setOnEditModeCancelButtonClickListener()`, `setOnEditModeSaveButtonClickListener()`, `setOnQuoteReplyModeCloseButtonClickListener()`, `setOnInputModeChangedListener()`, `setUseSuggestedMentionListDivider()`, `setOnTooltipClickListener()`, `setOnScrollBottomButtonClickListener()`, `setErrorText()` in `ChannelFragment.Builder`, `OpenChannelFragment.Builder`
@@ -122,7 +129,7 @@
122129
* Added `ChannelPushSettingFragment` and `ChannelPushSettingActivity`
123130
* Added `ChannelPushSettingViewModel`, `ChannelPushSettingModule`, and `ChannelPushSettingComponent`
124131

125-
### v3.0.0-beta.2 (Apr 29, 2022) with Core SDK `v3.1.12`
132+
### v3.0.0-beta.2 (Apr 29, 2022) with Chat SDK `v3.1.12`
126133
* Supported user mention in `GroupChannel`
127134
* Now you can send mentioning text to the other users in `GroupChannel`. These following functions are available
128135
* Added `setUseMention(boolean)`, `setUserMentionConfig(UserMentionConfig)`, `getUserMentionConfig()` and `isUsingMention()` in `SendbirdUIKit`
@@ -142,7 +149,7 @@
142149
* Added `getMentionSuggestion()` in `ChannelViewModel`
143150
* Added `loadMemberList(String)` in `ChannelViewModel`
144151

145-
### v3.0.0-beta (Apr 12, 2022) with Core SDK `v3.1.10`
152+
### v3.0.0-beta (Apr 12, 2022) with Chat SDK `v3.1.10`
146153
* Support `modules` and `components` in the UIKit
147154
* See more details and breaking changes. [[details](/changelogs/BREAKINGCHANGES_V3.md)]
148155
* See the Migration Guide for Converting V2 to V3. [[details](/changelogs/MIGRATIONGUIDE_V3.md)]

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ org.gradle.jvmargs=-Xmx1536m
1616
# https://developer.android.com/topic/libraries/support-library/androidx-rn
1717
android.useAndroidX=true
1818

19-
UIKIT_VERSION = 3.3.1
19+
UIKIT_VERSION = 3.3.2
2020
UIKIT_VERSION_CODE = 1

uikit-custom-sample/src/main/java/com/sendbird/uikit/customsample/groupchannel/components/viewholders/EmojiMessageOtherViewHolder.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
import com.bumptech.glide.Glide;
1313
import com.bumptech.glide.load.engine.DiskCacheStrategy;
1414
import com.bumptech.glide.request.RequestOptions;
15-
import com.bumptech.glide.signature.ObjectKey;
1615
import com.sendbird.android.channel.BaseChannel;
1716
import com.sendbird.android.message.BaseMessage;
1817
import com.sendbird.android.message.Reaction;
@@ -66,7 +65,6 @@ public void bind(@NonNull BaseChannel channel, @NonNull BaseMessage message, @No
6665
Glide.with(context)
6766
.load(url)
6867
.diskCacheStrategy(DiskCacheStrategy.ALL)
69-
.signature(new ObjectKey(url))
7068
.error(errorIcon)
7169
.apply(RequestOptions.circleCropTransform())
7270
.into(binding.ivProfileView);

uikit-custom-sample/src/main/java/com/sendbird/uikit/customsample/groupchannel/components/viewholders/HighlightMessageOtherViewHolder.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
import com.bumptech.glide.Glide;
1313
import com.bumptech.glide.load.engine.DiskCacheStrategy;
1414
import com.bumptech.glide.request.RequestOptions;
15-
import com.bumptech.glide.signature.ObjectKey;
1615
import com.sendbird.android.channel.BaseChannel;
1716
import com.sendbird.android.message.BaseMessage;
1817
import com.sendbird.android.message.Reaction;
@@ -66,7 +65,6 @@ public void bind(@NonNull BaseChannel channel, @NonNull BaseMessage message, @No
6665
Glide.with(context)
6766
.load(url)
6867
.diskCacheStrategy(DiskCacheStrategy.ALL)
69-
.signature(new ObjectKey(url))
7068
.error(errorIcon)
7169
.apply(RequestOptions.circleCropTransform())
7270
.into(binding.ivProfileView);

uikit-custom-sample/src/main/java/com/sendbird/uikit/customsample/openchannel/HighlightOpenChannelMessageViewHolder.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
import com.bumptech.glide.Glide;
1313
import com.bumptech.glide.load.engine.DiskCacheStrategy;
1414
import com.bumptech.glide.request.RequestOptions;
15-
import com.bumptech.glide.signature.ObjectKey;
1615
import com.sendbird.android.channel.BaseChannel;
1716
import com.sendbird.android.channel.OpenChannel;
1817
import com.sendbird.android.message.BaseMessage;
@@ -87,7 +86,6 @@ public void bind(@NonNull BaseChannel channel, @NonNull BaseMessage message, @No
8786
Glide.with(context)
8887
.load(url)
8988
.diskCacheStrategy(DiskCacheStrategy.ALL)
90-
.signature(new ObjectKey(url))
9189
.error(errorIcon)
9290
.apply(RequestOptions.circleCropTransform())
9391
.into(binding.ivProfileView);

uikit/src/main/java/com/sendbird/uikit/SendbirdUIKit.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -198,12 +198,12 @@ public ColorStateList getErrorTintColorStateList(@NonNull Context context) {
198198
@NonNull
199199
private static volatile ThemeMode defaultThemeMode = ThemeMode.Light;
200200
private static volatile boolean useDefaultUserProfile = false;
201-
private static volatile boolean useCompression = false;
201+
private static volatile boolean useCompression = true;
202202
@Nullable
203203
private static CustomUserListQueryHandler customUserListQueryHandler;
204204
@Nullable
205205
private static CustomParamsHandler customParamsHandler;
206-
private static int compressQuality = 100;
206+
private static int compressQuality = 70;
207207
@NonNull
208208
private static Pair<Integer, Integer> resizingSize = new Pair<>(DEFAULT_RESIZING_WIDTH_SIZE, DEFAULT_RESIZING_HEIGHT_SIZE);
209209
@NonNull
@@ -637,7 +637,7 @@ private static void updateEmojiList() {
637637
}
638638

639639
/**
640-
* Sets whether the image file compress when trying to send image file message. Default value is <code>false</code>.
640+
* Sets whether the image file compress when trying to send image file message. Default value is <code>true</code>.
641641
* The target image types are 'image/jpg`, `image/jpeg`, and `image/png`, the others will be ignored.
642642
*
643643
* @param useCompression If <code>true</code> the image file will be transferred to the original image, <code>false</code> other wise.
@@ -658,11 +658,11 @@ public static boolean shouldUseImageCompression() {
658658
}
659659

660660
/**
661-
* Image compression quality value that will be used when sending image. Default value is 100.
661+
* Image compression quality value that will be used when sending image. Default value is 70.
662662
* It has to be bigger than 0 and cannot exceed 100.
663663
*
664664
* @param compressQuality Hint to the compressor, 0-100. 0 meaning compress for
665-
* small size, 100 meaning compress for max quality. Some
665+
* smallest size, 100 meaning compress for max quality. Some
666666
* formats, like PNG which is lossless, will ignore the
667667
* quality setting
668668
* @see android.graphics.Bitmap#compress(Bitmap.CompressFormat format, int quality, OutputStream stream)

uikit/src/main/java/com/sendbird/uikit/activities/PhotoViewActivity.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,11 @@ public static Intent newIntent(@NonNull Context context, @NonNull ChannelType ch
2828
intent.putExtra(StringSet.KEY_MESSAGE_FILENAME, message.getName());
2929
intent.putExtra(StringSet.KEY_CHANNEL_URL, message.getChannelUrl());
3030
intent.putExtra(StringSet.KEY_IMAGE_URL, message.getUrl());
31+
intent.putExtra(StringSet.KEY_IMAGE_PLAIN_URL, message.getPlainUrl());
32+
intent.putExtra(StringSet.KEY_REQUEST_ID, message.getRequestId());
3133
intent.putExtra(StringSet.KEY_MESSAGE_MIMETYPE, message.getType());
3234
intent.putExtra(StringSet.KEY_MESSAGE_CREATEDAT, message.getCreatedAt());
33-
intent.putExtra(StringSet.KEY_SENDER_ID, message.getSender().getUserId());
35+
intent.putExtra(StringSet.KEY_SENDER_ID, message.getSender() == null ? 0 : message.getSender().getUserId());
3436
intent.putExtra(StringSet.KEY_MESSAGE_SENDER_NAME, message.getSender().getNickname());
3537
intent.putExtra(StringSet.KEY_CHANNEL_TYPE, channelType);
3638
intent.putExtra(StringSet.KEY_DELETABLE_MESSAGE, MessageUtils.isDeletableMessage(message));
@@ -50,14 +52,16 @@ protected void onCreate(@Nullable Bundle savedInstanceState) {
5052
final String channelUrl = intent.getStringExtra(StringSet.KEY_CHANNEL_URL);
5153
final String fileName = intent.getStringExtra(StringSet.KEY_MESSAGE_FILENAME);
5254
final String url = intent.getStringExtra(StringSet.KEY_IMAGE_URL);
55+
final String plainUrl = intent.getStringExtra(StringSet.KEY_IMAGE_PLAIN_URL);
56+
final String requestId = intent.getStringExtra(StringSet.KEY_REQUEST_ID);
5357
final String mimeType = intent.getStringExtra(StringSet.KEY_MESSAGE_MIMETYPE);
5458
final String senderNickname = intent.getStringExtra(StringSet.KEY_MESSAGE_SENDER_NAME);
5559
final long createdAt = intent.getLongExtra(StringSet.KEY_MESSAGE_CREATEDAT, 0L);
5660
final ChannelType channelType = (ChannelType) intent.getSerializableExtra(StringSet.KEY_CHANNEL_TYPE);
5761
final boolean isDeletable = intent.getBooleanExtra(StringSet.KEY_DELETABLE_MESSAGE, MessageUtils.isMine(senderId));
5862

5963
final PhotoViewFragment fragment = new PhotoViewFragment.Builder(senderId, fileName,
60-
channelUrl, url, mimeType, senderNickname, createdAt,
64+
channelUrl, url, plainUrl, requestId, mimeType, senderNickname, createdAt,
6165
messageId, channelType, SendbirdUIKit.getDefaultThemeMode(), isDeletable)
6266
.build();
6367

uikit/src/main/java/com/sendbird/uikit/consts/StringSet.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ public class StringSet {
1111

1212
public final static String KEY_MESSAGE_FILENAME = "KEY_MESSAGE_FILENAME";
1313
public final static String KEY_IMAGE_URL = "KEY_IMAGE_URL";
14+
public final static String KEY_IMAGE_PLAIN_URL = "KEY_IMAGE_PLAIN_URL";
15+
public final static String KEY_REQUEST_ID = "KEY_REQUEST_ID";
1416
public final static String KEY_MESSAGE_MIMETYPE = "KEY_MESSAGE_MIMETYPE";
1517
public final static String KEY_MESSAGE_CREATEDAT = "KEY_MESSAGE_CREATEDAT";
1618
public final static String KEY_MESSAGE_SENDER_NAME = "KEY_MESSAGE_SENDER_NAME";
@@ -118,6 +120,7 @@ public class StringSet {
118120
public final static String EVENT_MESSAGE_SENT = "EVENT_MESSAGE_SENT";
119121
public final static String EVENT_MESSAGE_RECEIVED = "EVENT_MESSAGE_RECEIVED";
120122
public final static String EVENT_MESSAGE_UPDATED = "EVENT_MESSAGE_UPDATED";
123+
public final static String INVALID_URL = "INVALID_URL";
121124
public final static String photo = "photo";
122125

123126
public final static String Chat = "Chat";

uikit/src/main/java/com/sendbird/uikit/fragments/PhotoViewFragment.java

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
import com.sendbird.uikit.consts.StringSet;
3737
import com.sendbird.uikit.databinding.SbFragmentPhotoViewBinding;
3838
import com.sendbird.uikit.interfaces.LoadingDialogHandler;
39+
import com.sendbird.uikit.internal.model.GlideCachedUrlLoader;
3940
import com.sendbird.uikit.internal.tasks.JobResultTask;
4041
import com.sendbird.uikit.internal.tasks.TaskQueue;
4142
import com.sendbird.uikit.log.Logger;
@@ -61,6 +62,10 @@ public class PhotoViewFragment extends PermissionFragment implements PermissionF
6162
@Nullable
6263
private String url;
6364
@Nullable
65+
private String plainUrl;
66+
@Nullable
67+
private String requestId;
68+
@Nullable
6469
private String mimeType;
6570
@Nullable
6671
private String senderNickname;
@@ -90,6 +95,8 @@ public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceStat
9095
fileName = args.getString(StringSet.KEY_MESSAGE_FILENAME);
9196
channelUrl = args.getString(StringSet.KEY_CHANNEL_URL);
9297
url = args.getString(StringSet.KEY_IMAGE_URL);
98+
plainUrl = args.getString(StringSet.KEY_IMAGE_PLAIN_URL);
99+
requestId = args.getString(StringSet.KEY_REQUEST_ID);
93100
mimeType = args.getString(StringSet.KEY_MESSAGE_MIMETYPE);
94101
senderNickname = args.getString(StringSet.KEY_MESSAGE_SENDER_NAME);
95102
createdAt = args.getLong(StringSet.KEY_MESSAGE_CREATEDAT);
@@ -133,11 +140,11 @@ public void onResume() {
133140
View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY);
134141
}
135142

136-
private <T> RequestBuilder<T> makeRequestBuilder(@NonNull String url, @NonNull Class<T> clazz) {
143+
private <T> RequestBuilder<T> makeRequestBuilder(@NonNull String url, @NonNull String cacheKey, @NonNull Class<T> clazz) {
137144
final View loading = binding.loading;
138145
final RequestManager glide = Glide.with(this);
139146

140-
return glide.as(clazz).diskCacheStrategy(DiskCacheStrategy.ALL).load(url).listener(new RequestListener<T>() {
147+
return GlideCachedUrlLoader.load(glide.as(clazz), url, cacheKey).diskCacheStrategy(DiskCacheStrategy.ALL).listener(new RequestListener<T>() {
141148
@Override
142149
public boolean onLoadFailed(@Nullable GlideException e, Object model, Target<T> target, boolean isFirstResource) {
143150
if (!isFragmentAlive()) return false;
@@ -167,16 +174,18 @@ protected void onDrawPage() {
167174
final TextView tvCreatedAt = binding.tvCreatedAt;
168175
final View loading = binding.loading;
169176
final String url = this.url;
177+
final String plainUrl = this.plainUrl == null ? "" : this.plainUrl;
178+
final String requestId = this.requestId == null ? "" : this.requestId;
170179

171180
tvTitle.setText(senderNickname);
172181
tvCreatedAt.setText(DateUtils.formatTime(requireContext(), this.createdAt));
173182
loading.setVisibility(View.VISIBLE);
174183

175184
if (url != null) {
176185
if (mimeType != null && mimeType.toLowerCase().contains(StringSet.gif)) {
177-
makeRequestBuilder(url, GifDrawable.class).into(ivPhoto);
186+
makeRequestBuilder(url, generateCacheKey(plainUrl, requestId), GifDrawable.class).into(ivPhoto);
178187
} else {
179-
makeRequestBuilder(url, Bitmap.class).into(ivPhoto);
188+
makeRequestBuilder(url, generateCacheKey(plainUrl, requestId), Bitmap.class).into(ivPhoto);
180189
}
181190
}
182191

@@ -220,6 +229,11 @@ protected void onDrawPage() {
220229
attacher.setOnPhotoTapListener((view, x, y) -> togglePhotoActionBar());
221230
}
222231

232+
@NonNull
233+
private String generateCacheKey(@NonNull String plainUrl, @NonNull String requestId) {
234+
return (TextUtils.isNotEmpty(requestId)) ? requestId : String.valueOf(plainUrl.hashCode());
235+
}
236+
223237
private void togglePhotoActionBar() {
224238
View vgHeader = binding.vgHeader;
225239
View vgBottom = binding.vgBottom;
@@ -342,12 +356,14 @@ public static class Builder {
342356
private LoadingDialogHandler loadingDialogHandler;
343357

344358
public Builder(@Nullable String senderId, @Nullable String fileName, @Nullable String channelUrl,
345-
@Nullable String url, @Nullable String mimeType, @Nullable String senderNickname, long createdAt,
359+
@Nullable String url, @Nullable String plainUrl, @Nullable String requestId, @Nullable String mimeType, @Nullable String senderNickname, long createdAt,
346360
long messageId, @Nullable ChannelType channelType, @Nullable SendbirdUIKit.ThemeMode themeMode, boolean isDeletableMessage) {
347361
bundle.putString(StringSet.KEY_SENDER_ID, senderId);
348362
bundle.putString(StringSet.KEY_MESSAGE_FILENAME, fileName);
349363
bundle.putString(StringSet.KEY_CHANNEL_URL, channelUrl);
350364
bundle.putString(StringSet.KEY_IMAGE_URL, url);
365+
bundle.putString(StringSet.KEY_IMAGE_PLAIN_URL, plainUrl);
366+
bundle.putString(StringSet.KEY_REQUEST_ID, requestId);
351367
bundle.putString(StringSet.KEY_MESSAGE_MIMETYPE, mimeType);
352368
bundle.putString(StringSet.KEY_MESSAGE_SENDER_NAME, senderNickname);
353369
bundle.putLong(StringSet.KEY_MESSAGE_CREATEDAT, createdAt);

0 commit comments

Comments
 (0)