in the account settings page, there are two checkboxes for users to select whether they recieve push notifications and email notifications. how can i make these notifications work and send to the users according to their preference by selecting the checkbox? how to make the checkbox trigger whether to send or stop sending notifications? Help me please
(in the screenshot please ignore the options to select the notification frequency)
Addition to this:
Location Settings: How can we allow users to manage their location preferences, including access to device location settings and live location tracking, and ensure these settings function correctly when selected?