Not able to click links in message center's incoming messages body
allam-cshekar opened this issue · 6 comments
Links in incoming message body in message center are not clickable, looks like android:autoLink="all"
attribute on message_body TextView in apptentive_message_incoming.xml
is not working .
<TextView android:id="@+id/apptentive_compound_message_body"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="@style/Apptentive.TextAppearance.Body1"
android:textIsSelectable="true"
android:autoLink="all"
android:focusable="true"/>
Posible solution would be to add messageBodyView.setMovementMethod(LinkMovementMethod.getInstance());
in IncomingCompoundMessageHolder.
Please let me know if there is any other easy solution for this without waiting for next release . Thanks
Hello @allam-cshekar , thank you for bringing this issue to our attention. What version of the Apptentive SDK are you using?
Hello @HarryAWoodworth , thanks for the reply I am using apptentive-android 5.8.3 version .
I am not able to reproduce this issue in my tests, would you be able to send screenshots of the issue you are facing? And if able to, the link(s) you are testing? Thank you
Basically, it has to do with the way we define string resource in incoming message. Raw links are working but linked links are not formatted and not clickable
This does not work:
But this does:
I guess this similar to this issue.
Here is the screenshot on my app, Help center is supposed to be clickable in this image.
I apologize for the delay in my response. When you are sending the linked link in Message Center, how is it input? Is it formatted through your Zendesk integration?
Hi @HarryAWoodworth , sorry for delay in my response. I am creating and sending linked link in Message Center as show in the video below. Let me know if you have any question. Thanks