Skip to content

Not able to click links in message center's incoming messages body #237

Description

@allam-cshekar

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions