Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get session callback like iOS SDK #169

Closed
baronha opened this issue Feb 27, 2024 · 4 comments
Closed

How to get session callback like iOS SDK #169

baronha opened this issue Feb 27, 2024 · 4 comments
Assignees
Milestone

Comments

@baronha
Copy link

baronha commented Feb 27, 2024

on iOS. I can get a chat's session from the callback event and I hope Android SDK can do that

IOS Example:

CrispSDK.addCallback(Callback.sessionLoaded { sessionId in
    callback([sessionId])
})
@baronha baronha changed the title how to get session callback like iOS SDK How to get session callback like iOS SDK Feb 27, 2024
@Doc1faux Doc1faux self-assigned this Mar 25, 2024
@Doc1faux
Copy link
Collaborator

Hi @baronha, sorry for the late reply.
We were focused on the 2.0.0beta1 release and this feature was not prioritized.

We are currently working on 2.0.1beta2 and events callback is still not prioritized.
This can be explained because socket is only maintained when the ChatActivity is running so not before starting it, not after and not in app background, only in foreground, so its usage is very limited...

However, many of you have requested to get at least the session:loaded one:

So I will discuss with the team if we can add it in this milestone ;)

@Doc1faux
Copy link
Collaborator

Hi @baronha,

Just to let you know that callbacks are planned for next release ;)

@baronha
Copy link
Author

baronha commented Jun 21, 2024

Hi @baronha,

Just to let you know that callbacks are planned for next release ;)

Good news today. Yay. Many thanks @Doc1faux

@Doc1faux
Copy link
Collaborator

Hi @baronha, v2.0.4 is finally here with events callback, including the session:loaded many were waiting for!

It should be available in the coming hours on mavenCentral ;)

@Doc1faux Doc1faux removed the planned label Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants