You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Autocapture ElementInteractions identifies which button was pressed through its accessibilityIdentifier. For action sheets and alerts I would expect the button text to be logged to be able to identify what the user action was. This is especially important if the button action does not result in a UI change that would be captured through autocapture (e.g. action button does not navigate to a different screen than the the cancel action button).
Current Behavior
Action sheet logged with title but without clicked button's text:
"event_properties": {
"[Amplitude] Action": "longPress",
"[Amplitude] Gesture Recognizer": "UILongPressGestureRecognizer",
"[Amplitude] Hierarchy": "_UIAlertControllerInterfaceActionGroupView → UIView → _UIAlertControllerPhoneTVMacView → UITransitionView → UIWindow",
"[Amplitude] Screen Name": "What would you like to do?",
"[Amplitude] Target View Class": "_UIAlertControllerInterfaceActionGroupView"
},
Same behavior for Alert - logged with title but without clicked button's text:
Expected Behavior
Autocapture ElementInteractions identifies which button was pressed through its accessibilityIdentifier. For action sheets and alerts I would expect the button text to be logged to be able to identify what the user action was. This is especially important if the button action does not result in a UI change that would be captured through autocapture (e.g. action button does not navigate to a different screen than the the cancel action button).
Current Behavior
Action sheet logged with title but without clicked button's text:
Same behavior for Alert - logged with title but without clicked button's text:
Possible Solution
Steps to Reproduce
Environment
The text was updated successfully, but these errors were encountered: