According to the Prompt users for data and privacy consents docs, if the user doesn’t accept the mandatory privacy policy, the user should be prompted to uninstall the add-on. How can this be accomplished? The only reference I found was this stackoverflow question from 2014 referencing a AddonManager, but this seems deprecated, since no documentation exists.
How can an addon prompt the user to uninstall itself?