Skip to content

Commit bdab57a

Browse files
Update SDK version to 1.7.0
Update google-services.json
1 parent f021535 commit bdab57a

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

app/build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ android {
77
applicationId "com.sendbird.calls.quickstart"
88
minSdkVersion 16 // [Calls]
99
targetSdkVersion 29
10-
versionCode 9
11-
versionName "1.4.0"
10+
versionCode 10
11+
versionName "1.7.0"
1212
multiDexEnabled true // multidex
1313
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1414
}
@@ -33,7 +33,8 @@ dependencies {
3333
implementation 'com.google.android.material:material:1.2.1'
3434
implementation 'androidx.multidex:multidex:2.0.1' // multidex
3535

36-
implementation 'com.sendbird.sdk:sendbird-calls:1.4.0' // [Calls]
36+
implementation 'com.sendbird.sdk:sendbird-calls:1.7.0' // [Calls]
37+
3738
implementation 'com.google.firebase:firebase-core:17.5.0' // [Calls] FCM
3839
implementation 'com.google.firebase:firebase-messaging:20.2.4' // [Calls] FCM
3940
implementation 'com.github.bumptech.glide:glide:4.11.0'

app/google-services.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
],
2222
"api_key": [
2323
{
24-
"current_key": "AIzaSyCHjJAQaJleH8QRgmtoBrLq7UaaE6hsstA"
24+
"current_key": "AIzaSyA7iN1r5Al5RIUhiI4CybJC1-WCilQnFI0"
2525
}
2626
],
2727
"services": {

app/src/main/java/com/sendbird/calls/quickstart/main/HistoryRecyclerViewAdapter.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,14 @@ public void onBindViewHolder(@NonNull HistoryViewHolder holder, int position) {
7676
}
7777
}
7878

79-
ImageUtils.displayCircularImageFromUrl(mContext, user.getProfileUrl(), holder.imageViewProfile);
79+
if (user != null) {
80+
ImageUtils.displayCircularImageFromUrl(mContext, user.getProfileUrl(), holder.imageViewProfile);
81+
}
82+
8083
UserInfoUtils.setNickname(mContext, user, holder.textViewNickname);
8184
UserInfoUtils.setUserId(mContext, user, holder.textViewUserId);
8285

83-
String endResult = "";
84-
if (callLog.getEndResult() != null) {
85-
endResult = EndResultUtils.getEndResultString(mContext, callLog.getEndResult());
86-
}
86+
String endResult = EndResultUtils.getEndResultString(mContext, callLog.getEndResult());
8787
String endResultAndDuration = endResult + mContext.getString(R.string.calls_and_character) + TimeUtils.getTimeStringForHistory(callLog.getDuration());
8888
holder.textViewEndResultAndDuration.setText(endResultAndDuration);
8989

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ allprojects {
1919
repositories {
2020
google()
2121
jcenter()
22-
22+
maven { url "https://repo.sendbird.com/public/maven" }
2323
}
2424
}
2525

0 commit comments

Comments
 (0)