InboxSDK icon indicating copy to clipboard operation
InboxSDK copied to clipboard

Bug: ComposeView.getToRecipients() doesn't work within registerRequestModifier callback

Open bkorobeinikov opened this issue 3 years ago • 0 comments

Describe the bug Calling ComposeView.getToRecipients() during ComposeView.registerRequestModifier callback returns empty result

To Reproduce Steps to reproduce the behavior:

  1. Start new compose
  2. Register registerRequestModifier handler for composeView
  3. add one or multiple to recipients
  4. click "send"
  5. when registerRequestModifier is called, access composeView.getToRecipients()

Expected behavior ComposeView.getToRecipients() should return recipients set in the compose To field

Add any other context about the problem here if anything Initial research lead to believe that during registerRequestModifier invocation, compose view element no longer has recipients chips, but instead has only span elements that are shown when To field is unfocused.

bkorobeinikov avatar Oct 21 '22 20:10 bkorobeinikov