Skip to content

Commit 65e1917

Browse files
Doo RimDoo Rim
authored andcommitted
Added 3.2.1
1 parent 4005be4 commit 65e1917

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+557
-160
lines changed

CHANGELOG.md

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

3+
### v3.2.1 (Sep 29, 2022) with Core SDK `v4.0.9`
4+
* Added `takeVideo()` in `ChannelFragment` and `OpenChannelFragment`
5+
* Support custom font in message bubble and input filed.
6+
* Added `setRepliedMessageTextUIConfig(TextUIConfig)`, and `setMessageInputTextUIConfig(TextUIConfig)` in `ChannelFragment.Builder`
7+
* Added `setMessageInputTextUIConfig(TextUIConfig)` in `OpenChannelFragment.Builder`
8+
* Added `setMessageInputTextUIConfig(TextUIConfig)` and `getMessageInputTextUIConfig()` in `MessageInputComponent.Params`
9+
* Added `setMessageInputTextUIConfig(TextUIConfig)` and `getMessageInputTextUIConfig()` in `OpenChannelMessageInputComponent.Params`
10+
* Added `setRepliedMessageTextUIConfig(TextUIConfig)` in `MessageListComponent.Params`
11+
* Added `setCustomFontRes(int)` in `TextUIConfig.Builder`
12+
313
### v3.2.0 (Sep 15, 2022) with Core SDK `v4.0.8`
414
* Support OpenChannel list
515
* Added `OpenChannelListActivity`, `OpenChannelListFragment`, `OpenChannelListModule`, `OpenChannelListViewModel`, `OpenChannelListComponent`, and `OpenChannelListAdapter`

build.gradle

Lines changed: 5 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,10 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22
buildscript {
33
ext.kotlin_version = '1.7.10'
4-
repositories {
5-
google()
6-
mavenCentral()
7-
}
8-
dependencies {
9-
classpath 'com.android.tools.build:gradle:7.1.3'
10-
// NOTE: Do not place your application dependencies here; they belong
11-
// in the individual module build.gradle files
12-
13-
classpath 'com.google.gms:google-services:4.3.10'
14-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
15-
}
164
}
17-
18-
allprojects {
19-
repositories {
20-
google()
21-
mavenCentral()
22-
maven { url "https://jitpack.io" }
23-
maven { url "https://repo.sendbird.com/public/maven" }
24-
}
5+
plugins {
6+
id 'com.android.application' version '7.2.2' apply false
7+
id 'com.android.library' version '7.2.2' apply false
8+
id 'org.jetbrains.kotlin.android' version "$kotlin_version" apply false
9+
id 'com.google.gms.google-services' version '4.3.10' apply false
2510
}
26-

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.2.0
19+
UIKIT_VERSION = 3.2.1
2020
UIKIT_VERSION_CODE = 1
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Mon May 02 15:36:41 KST 2022
22
distributionBase=GRADLE_USER_HOME
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
44
distributionPath=wrapper/dists
55
zipStorePath=wrapper/dists
66
zipStoreBase=GRADLE_USER_HOME

settings.gradle

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
pluginManagement {
2+
repositories {
3+
gradlePluginPortal()
4+
google()
5+
mavenCentral()
6+
}
7+
}
8+
dependencyResolutionManagement {
9+
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
10+
repositories {
11+
google()
12+
mavenCentral()
13+
maven { url "https://jitpack.io" }
14+
maven { url "https://repo.sendbird.com/public/maven" }
15+
}
16+
}
17+
118
include ':uikit-custom-sample'
219
include ':uikit-sample', ':uikit'
320
rootProject.name='sendbird-uikit-android-sources'

uikit-custom-sample/build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
apply plugin: 'com.android.application'
2-
apply plugin: 'com.google.gms.google-services'
1+
plugins {
2+
id 'com.android.application'
3+
id 'com.google.gms.google-services'
4+
}
35

46
android {
57
compileSdkVersion 33

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
import com.sendbird.uikit.customsample.groupchannel.fragments.CustomRegisterOperatorFragment;
2222
import com.sendbird.uikit.customsample.openchannel.CustomCreateOpenChannelFragment;
2323
import com.sendbird.uikit.customsample.openchannel.CustomOpenChannelSettingsFragment;
24+
import com.sendbird.uikit.fragments.ChannelFragment;
2425
import com.sendbird.uikit.fragments.UIKitFragmentFactory;
2526

2627
/**
@@ -38,9 +39,10 @@ public Fragment newChannelListFragment(@NonNull Bundle args) {
3839
@NonNull
3940
@Override
4041
public Fragment newChannelFragment(@NonNull String channelUrl, @NonNull Bundle args) {
41-
final Fragment fragment = new CustomChannelFragment();
42-
fragment.setArguments(args);
43-
return fragment;
42+
return new ChannelFragment.Builder(channelUrl)
43+
.setCustomFragment(new CustomChannelFragment())
44+
.withArguments(args)
45+
.build();
4446
}
4547

4648
@NonNull

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ private void showMediaSelectDialog() {
329329

330330
private void takeCamera() {
331331
SendbirdChat.setAutoBackgroundDetection(false);
332-
this.mediaUri = FileUtils.createPictureImageUri(requireContext());
332+
this.mediaUri = FileUtils.createImageFileUri(requireContext());
333333
if (mediaUri == null) return;
334334
Intent intent = IntentUtils.getCameraIntent(requireContext(), mediaUri);
335335
if (IntentUtils.hasIntent(requireContext(), intent)) {

uikit-sample/build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
apply plugin: 'com.android.application'
2-
apply plugin: 'com.google.gms.google-services'
1+
plugins {
2+
id 'com.android.application'
3+
id 'com.google.gms.google-services'
4+
}
35

46
version = UIKIT_VERSION
57
android {

uikit-sample/src/main/java/com/sendbird/uikit_messaging_android/SettingsFragment.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ private void showMediaSelectDialog() {
443443

444444
private void takeCamera() {
445445
SendbirdChat.setAutoBackgroundDetection(false);
446-
this.mediaUri = FileUtils.createPictureImageUri(requireContext());
446+
this.mediaUri = FileUtils.createImageFileUri(requireContext());
447447
if (mediaUri == null) return;
448448
Intent intent = IntentUtils.getCameraIntent(requireContext(), mediaUri);
449449
if (IntentUtils.hasIntent(requireContext(), intent)) {

0 commit comments

Comments
 (0)