DataDog / dd-sdk-android

Datadog SDK for Android (Compatible with Kotlin and Java)
Apache License 2.0
153 stars 60 forks source link

Some button actions and Alert view actions were not logging in DataDog RUM Android #1671

Closed manojKumar-L closed 11 months ago

manojKumar-L commented 1 year ago

Thanks for taking the time for reporting an issue!

Describe what happened

Steps to reproduce the issue:

mariusc83 commented 1 year ago

Hi @manojKumar-L , first of all thank you for reporting the issue. To understand better this behaviour can you tell us if you do not get any Action event on your Alert window or just some of them ?

mariusc83 commented 1 year ago

Also are you using the old AlertDialog API or the new one based on the DialogFragment ?

manojKumar-L commented 1 year ago

Hi, @mariusc83, Thanks for your quick reply. In my Application, I am using both AlertDialog API and DiaglogFragment. I am getting my View and Action logged on DataDog RUM for the DialogFragment, Only for all the AlertDialog APIs the view and actions are not logging.

can you tell us if you do not get any Action event on your Alert window or just some of them ? I am not getting action events for all the Alert windows which are all using AlertDialog API

mariusc83 commented 1 year ago

Hi @manojKumar-L , thank you for your reply and this confirms our investigation. Basically we do not support automated tracking for actions and view events in AlertDialog. We will be working on this probably this quarter or beginning of next year. For now the alternative would be for you to use our manual RUM API on those dialogs. We will add a not on this issue once this feature will be supported.

manojKumar-L commented 11 months ago

Thanks for your feedback @mariusc83, I am closing this issue for now, If you included a new feature for logging AlertDialog please mention it in this issue.