Skip to content

Commit f236088

Browse files
Android UI Kit v2.1.3
1 parent c7627fb commit f236088

File tree

83 files changed

+1309
-749
lines changed

Some content is hidden

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

83 files changed

+1309
-749
lines changed

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,5 @@ dependencies {
5858
implementation 'com.google.android.material:material:1.2.0-alpha05'
5959
implementation 'com.facebook.shimmer:shimmer:0.4.0'
6060
//
61-
implementation 'com.cometchat:pro-android-chat-sdk:2.1.1'
61+
implementation 'com.cometchat:pro-android-chat-sdk:2.1.3'
6262
}

app/src/main/java/com/cometchat/pro/androiduikit/ComponentFragments/CallListViewFragment.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
import screen.CometChatGroupDetailScreenActivity;
3636
import screen.CometChatUserDetailScreenActivity;
3737
import screen.messagelist.CometChatMessageListActivity;
38+
import utils.CallUtils;
3839
import utils.Utils;
3940

4041
public class CallListViewFragment extends Fragment {
@@ -109,9 +110,9 @@ public void onSuccess(Call call) {
109110
} else {
110111
user = var.getSender();
111112
}
112-
Utils.startCallIntent(getContext(), user, CometChatConstants.CALL_TYPE_AUDIO, true, call.getSessionId());
113+
CallUtils.startCallIntent(getContext(), user, CometChatConstants.CALL_TYPE_AUDIO, true, call.getSessionId());
113114
} else
114-
Utils.startGroupCallIntent(getContext(),((Group)call.getCallReceiver()),CometChatConstants.CALL_TYPE_AUDIO,true,call.getSessionId());
115+
CallUtils.startGroupCallIntent(getContext(),((Group)call.getCallReceiver()),CometChatConstants.CALL_TYPE_AUDIO,true,call.getSessionId());
115116
}
116117

117118
@Override

app/src/main/java/com/cometchat/pro/androiduikit/SelectActivity.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
import com.cometchat.pro.constants.CometChatConstants;
1313
import com.cometchat.pro.core.CometChat;
1414
import com.cometchat.pro.exceptions.CometChatException;
15+
import com.cometchat.pro.uikit.UIKitSettings;
1516
import com.google.android.material.button.MaterialButton;
1617
import com.google.android.material.snackbar.Snackbar;
1718

@@ -69,6 +70,7 @@ public void onClick(View view) {
6970
overridePendingTransition( R.anim.slide_in_up, R.anim.slide_out_up );
7071
}
7172
});
73+
7274
screenGroup = (RadioGroup)findViewById(R.id.screen_selector);
7375
callGroup = findViewById(R.id.call_selector);
7476
audioCallRb = findViewById(R.id.audioCall);

uikit/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ dependencies {
6868
implementation 'com.google.android.gms:play-services-location:17.0.0'
6969
implementation 'com.google.android.gms:play-services-maps:17.0.0'
7070
//cometchat
71-
compileOnly 'com.cometchat:pro-android-chat-sdk:2.1.1'
71+
compileOnly 'com.cometchat:pro-android-chat-sdk:2.1.3'
7272
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.4.0"
7373
}
7474
repositories {

uikit/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<uses-permission android:name="android.permission.VIBRATE" />
1212
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
1313
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
14-
14+
<uses-feature android:name="android.hardware.camera2.full" />
1515
<application
1616
android:hardwareAccelerated="true"
1717
android:requestLegacyExternalStorage="true"

uikit/src/main/assets/Roboto-Black.ttf

100644100755
File mode changed.

uikit/src/main/assets/Roboto-Bold.ttf

100644100755
File mode changed.

uikit/src/main/assets/Roboto-Light.ttf

100644100755
File mode changed.

uikit/src/main/assets/Roboto-Medium.ttf

100644100755
File mode changed.

uikit/src/main/assets/Roboto-Regular.ttf

100644100755
File mode changed.

0 commit comments

Comments
 (0)