Send accept update to Sales force

Questions:

  •  N/D

Technical Refinement

Description

  • Task 1 - Create a Feature Flag (canceled)

  • Task 2 - Create a new hook for enable Salesforce

    • In file src/pages/account/comm-preferences/use-comm-prefs.ts we have a function handleUpdatedSalesForcePushNotification, we need to change this function for new Hook, because it needs to be generic.

    • This new hook must be created in src/hook

    • Use new hook for use-comm-prefs.ts

  • Task 3 - Add this hook in Agreements modal

    • src/state/auth/hooks/use-current-user.ts

  • Task 4 - Add this hook in SignUp (NOT READY YET)

  • Task 5 - Enable Salesforce in mobile

    • When access app validate if push is active, case it active, validate if is active in Salesforce, case not activate need to add in Salesforce.

    • This need validate in layout app.

  • Task 6 - Show toast case user need activate notification

    • When user access the "communication preferences“, must validate is have a push active, and if push is active in mobile phone, case not active must show a toast info, for inform user about the to need activate in native phone.

Screenshots

POC

  • N/A

Impact Analysis

  • N/A

Dependencies

  • N/A

Unit Test

  • N/A

Useful Links