powered by Jive Software

Chat Markers: ChatMarkerManager code is missing

smack
android

#1

Hi, I am an Android dev (6 years in) and I am working with SMACK to build an Android chat app.

TL;DR: When importing SMACK as a dependency on the project(all of the android ones, including experimental), some classes are missing and some are outdated. For example:

ChatMarkersManager has only its constructor and a method isSupportedByServer(). This is very different than the source code of the class which correctly exposes a way to register for ChatMarkersListener to get callbacks. I don’t know if this is intentional, but if it is, what is the way to correctly interact with the ChatMarkersManager to send an “acknowledged” or “displayed” marker?

Below are some technical info about my project setup:

  • Dependencies:
dependencies {
  compile "org.igniterealtime.smack:smack-android-extensions:4.3.0"
  compile "org.igniterealtime.smack:smack-experimental:4.3.0"
  compile "org.igniterealtime.smack:smack-tcp:4.3.0"
}

#2

You are aware that you are comparing a release with what is actually the current HEAD of the master branch?


#3

I assumed it was in the latest release. I saw this commit with the relevant code in the master branch, from November 2016, while the latest release is October 2018. Was I wrong? :sweat_smile: