Problem Statement
When running ad blockers or other network disruptions occur showReportDialog will silently fail, there is no api provided for catching this case and asking the user to potentially turn their adblocker (or similar off).
Solution Brainstorm
- Make
showReportDialog return a Promise that resolves when the dialog opens, rejects with error when it fails. (Bonus if you make showReportDialog resolve an object that lets you close the dialog or similar.
- Add
onError callback showReportDialog({ onError: (error: Error) => { ... } }}
Additional Context
No response
Priority
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it.
Problem Statement
When running ad blockers or other network disruptions occur
showReportDialogwill silently fail, there is no api provided for catching this case and asking the user to potentially turn their adblocker (or similar off).Solution Brainstorm
showReportDialogreturn aPromisethat resolves when the dialog opens, rejects with error when it fails. (Bonus if you makeshowReportDialogresolve an object that lets you close the dialog or similar.onErrorcallbackshowReportDialog({ onError: (error: Error) => { ... } }}Additional Context
No response
Priority
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding
+1orme too, to help us triage it.