Description
When calling ConsentsUISDK.showPrivacyPopup(activity), the returned Flow doesn't emit any result if the user has previously accepted or declined consents. This prevents the app from handling the popup dismissal and processing the user's consent choices.
Expected Behavior
showPrivacyPopup() should always emit a result (success or failure) when the popup is dismissed, regardless of whether the user had previously made consent choices. This allows the consuming app to:
- Handle the popup dismissal event
- Retrieve and sync the user's consent choices
- Update the UI accordingly
Actual Behavior
When a user who has previously made consent choices interacts with the popup shown via showPrivacyPopup():
- The popup displays correctly
- The user can view/modify their choices
- Upon dismissal, the Flow doesn't emit any result
- The
collect block is never called