crisp-im / crisp-sdk-android

:package: Crisp Android SDK, add a chat in any Android app and communicate with your users.
https://docs.crisp.chat/guides/chatbox-sdks/android-sdk/
Other
56 stars 17 forks source link

Unable to prefil message to chatbox #160

Open nfonjeannoel opened 1 year ago

nfonjeannoel commented 1 year ago

If it's possible to set photo of email or phone number, then shouldn't it be possible to set a prefil message when the chatbox is launched? This is very useful feature but it doesn't seem to be available in the android SDK (read from conversations of some time back).

Just wondering, has anything been added which can help us achieve this desired behaviour?

Is there any walk around?

Any help here will be appreciated. Thanks

Doc1faux commented 1 year ago

Hi @nfonjeannoel,

Just to be sure, are you talking about an equivalent to the Web SDK $crisp.push(["set", "message:text", [message_text]]) method? If so, this feature is not yet available on mobile SDKs, but it could be added in a future release. I pass the information to the team of your will to add it.

nfonjeannoel commented 1 year ago

Yes, that's what I'm referring to @Doc1faux I think it's a really useful and needed feature and will appreciate if it can be added. Thanks

Doc1faux commented 1 year ago

Hi @nfonjeannoel,

Just to let you know, I discussed with the team and this feature will not be released in the next mobile SDK release (1.0.16 for Android) but is planned for a future one. I'll keep you up-to-date :)

MouamleH commented 4 months ago

Hello, any updates regarding this?

Doc1faux commented 4 months ago

Hi @MouamleH,

This feature was not prioritized for the moment but while checking callbacks feature on iOS for issue #172 which were documented but not accessible when I tested, I've just realized they were available for Swift but not Objective-C with which I've tested... So I've seen that the showMessage method was already implemented on iOS... (see doc). I'll ask the team if I prioritize it for the next release.

However, with the #173 fix which seems a bit urgent, I'll probably release a new beta version this week with this and some new features but not this one.

I let you know of any update, as well as @nfonjeannoel ;)

Doc1faux commented 3 months ago

Hi @nfonjeannoel & @MouamleH,

Just to let you know that message prefill is planned for the next release :)