# I want to create a functionality like read all messages and unready count should be zero

**URL:** https://forum.social.plus/t/i-want-to-create-a-functionality-like-read-all-messages-and-unready-count-should-be-zero/710
**Category:** Android
**Created:** [April 25, 2023, 1:36pm UTC](https://forum.social.plus/t/i-want-to-create-a-functionality-like-read-all-messages-and-unready-count-should-be-zero/710 "2023-04-25T13:36:58Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![akshayg.stacksum](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@akshayg.stacksum](https://forum.social.plus/u/akshayg.stacksum)
#### Post date: [April 25, 2023, 1:36pm UTC](https://forum.social.plus/t/i-want-to-create-a-functionality-like-read-all-messages-and-unready-count-should-be-zero/710/1 "2023-04-25T13:36:58Z")

</div>

This feature need formy chat application when user tap on recent chat and when he/she enters then unread count should be zero when i come back from chat screen

My Amity-uikit version is 2.34.0

---

<div class="post-metadata">

### Author: ![akshayg.stacksum](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@akshayg.stacksum](https://forum.social.plus/u/akshayg.stacksum)
#### Post date: [April 26, 2023, 4:51am UTC](https://forum.social.plus/t/i-want-to-create-a-functionality-like-read-all-messages-and-unready-count-should-be-zero/710/2 "2023-04-26T04:51:02Z")

</div>

Please reply me sir/ma’am.

---

<div class="post-metadata">

### Author: ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)
#### Post date: [April 26, 2023, 8:27am UTC](https://forum.social.plus/t/i-want-to-create-a-functionality-like-read-all-messages-and-unready-count-should-be-zero/710/3 "2023-04-26T08:27:07Z")

</div>

Hello @akshayg.stacksum please see the related docs here: [Unread Count - Amity Docs](https://docs.amity.co/beta-features/unread-count)

---

<div class="post-metadata">

### Author: ![akshayg.stacksum](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@akshayg.stacksum](https://forum.social.plus/u/akshayg.stacksum)
#### Post date: [April 26, 2023, 8:37am UTC](https://forum.social.plus/t/i-want-to-create-a-functionality-like-read-all-messages-and-unready-count-should-be-zero/710/4 "2023-04-26T08:37:58Z")

</div>

But while i am using this it’s showing startUnreadCountSyncing is undefined so i have a question that do i need to add the core sdk as well with 6.6.0 version

---

<div class="post-metadata">

### Author: ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)
#### Post date: [April 26, 2023, 8:42am UTC](https://forum.social.plus/t/i-want-to-create-a-functionality-like-read-all-messages-and-unready-count-should-be-zero/710/5 "2023-04-26T08:42:36Z")

</div>

Yes, you will have to update the version, referring to the changelogs here: [Android - Amity Docs](https://docs.amity.co/changelogs-and-versioning/Android#version-6.6.0-2023-04-20) ,

---

<div class="post-metadata">

### Author: ![akshayg.stacksum](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@akshayg.stacksum](https://forum.social.plus/u/akshayg.stacksum)
#### Post date: [April 26, 2023, 9:21am UTC](https://forum.social.plus/t/i-want-to-create-a-functionality-like-read-all-messages-and-unready-count-should-be-zero/710/6 "2023-04-26T09:21:33Z")

</div>

do i need to use  
implementation ‘com.github.AmityCo.Amity-Social-Cloud-UIKit-Android:amity-uikit:2.34.0’  
implementation(“com.github.AmityCo.Amity-Social-Cloud-SDK-Android:amity-sdk:6.6.0”)  
both ?

---

<div class="post-metadata">

### Author: ![akshayg.stacksum](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@akshayg.stacksum](https://forum.social.plus/u/akshayg.stacksum)
#### Post date: [April 26, 2023, 9:23am UTC](https://forum.social.plus/t/i-want-to-create-a-functionality-like-read-all-messages-and-unready-count-should-be-zero/710/7 "2023-04-26T09:23:14Z")

</div>

after adding second sdk then my existing AmityMessageAdapter were undefined

---

<div class="post-metadata">

### Author: ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)
#### Post date: [April 26, 2023, 1:03pm UTC](https://forum.social.plus/t/i-want-to-create-a-functionality-like-read-all-messages-and-unready-count-should-be-zero/710/8 "2023-04-26T13:03:35Z")

</div>

We apologize for the confusion in our previous response. As the unread count feature is still in beta testing, please update to version _beta 6.6.0_ to access it. Kindly let us know if you face any issues, thank you.

---

<div class="post-metadata">

### Author: ![akshayg.stacksum](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@akshayg.stacksum](https://forum.social.plus/u/akshayg.stacksum)
#### Post date: [April 26, 2023, 1:09pm UTC](https://forum.social.plus/t/i-want-to-create-a-functionality-like-read-all-messages-and-unready-count-should-be-zero/710/9 "2023-04-26T13:09:32Z")

</div>

Once i used the  
implementation(“com.github.AmityCo.Amity-Social-Cloud-SDK-Android:amity-sdk:6.6.0”)

then my Timber.d(“Test”) got undefined why?

---

<div class="post-metadata">

### Author: ![akshayg.stacksum](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@akshayg.stacksum](https://forum.social.plus/u/akshayg.stacksum)
#### Post date: [April 27, 2023, 6:44am UTC](https://forum.social.plus/t/i-want-to-create-a-functionality-like-read-all-messages-and-unready-count-should-be-zero/710/10 "2023-04-27T06:44:53Z")

</div>

Now this after using

implementation(“com.github.AmityCo.Amity-Social-Cloud-SDK-Android:amity-sdk:6.6.0”)

```
java.lang.NoSuchMethodError: No interface method insertFcmToken(Ljava/lang/String;)Lio/reactivex/Completable; in class Lcom/amity/socialcloud/sdk/push/EkoPushContract; or its super classes (declaration of 'com.amity.socialcloud.sdk.push.EkoPushContract' appears in /data/app/~~a5YX-iJd54ZgRmmw41IiKw==/com.yudoo.app-dInhN1XARdmCmS8vEi0mXg==/base.apk)

```

---

<div class="post-metadata">

### Author: ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)
#### Post date: [April 27, 2023, 12:24pm UTC](https://forum.social.plus/t/i-want-to-create-a-functionality-like-read-all-messages-and-unready-count-should-be-zero/710/11 "2023-04-27T12:24:38Z")

</div>

Hello, could you please update your uikit version to 3.x as well, it is more compatible with SDK version 6.x.x

Link to our Android open-source releases: [Releases · AmityCo/Amity-Social-Cloud-UIKit-Android-OpenSource · GitHub](https://github.com/AmityCo/Amity-Social-Cloud-UIKit-Android-OpenSource/releases)

Also, in order to use our push notification, you will also have to install this [https://docs.amity.co/core-concepts/push-notifications/android-push-notifications-initialization#initialize-push-notification](https://docs.amity.co/core-concepts/push-notifications/android-push-notifications-initialization#initialize-push-notification)

Please let us know if you have further questions, thank you.
