is deprecated, I was using this for reading the OTP from the message box. Any other suggestion on how do I go about this

The content-desc is empty for this and hence the use of accessibility-id doesn’t solve the problem. Please suggest a workaround. Just to give you a glimpse, here is what my requirement looks like

  1. App sends an OTP
  2. Go to Notifications and drag the bar.
  3. Click on the sender’s name and open the message
  4. read OTP from the message and sent it back to the app

Watch my video to understand how to verify OPT