We have integrated the Android messaging SDK in our app.
We have added the Clickable Links delegate to customize handling of URLs in the chat.
When user clicks on a link in the chat, we want to close the chat activity (ConversationActivity). We have achieved this on iOS. But, unable to do that on Android.
getCurrentActivity() on Android returns the parent activity, and not the ConversationActivity.
Hey Vishakha,
Can you provide some more context around what custom action you intend to perform before closing the activity? Sample code to the demonstrate the desired custom action would be helpful as well.
Thanks,