...
Task 2 - Mark push and email for promotion check
In the agreements we have a checkbox for enable communication, but now, this check activates just communication through email, so we need to add Push too.
In file src/state/auth/hooks/use-current-user.ts on the function updateRequiredAcceptanceAgreementInfo we check this checkbox and to add true, we can basead in the file src/pages/account/comm-preferences/use-comm-prefs.ts in the function updateCommPrefs for to apply our solution.
Task 3 - Show check case just one option, it true.
In case just one option it checked, for example email true and push false, we need to show this check for user enable both option. src/components/modal-agreement/index.tsx, adjusted the logic in the const hasMarketingEmail.
Task 4 - Add Push and Email in mParticle
Verify for sending mParticle events for push and email.
Screenshots
POC
N/A
Impact Analysis
...