GoodDAPP icon indicating copy to clipboard operation
GoodDAPP copied to clipboard

add notifications to the app permissions

Open johnsmith-gooddollar opened this issue 2 years ago • 0 comments

  • [x] configure native apps (plist and manifest) to be allowed to ask local notifications perms
  • [x] add Notifications permissions to the src/components/permissions/api/PermissionsAPI.web.js class
  • [x] on the web always return 'denied' for notifications (status check), do nothing on request
  • [x] update usePermissions() hook

ONHOLD:

  • [ ] add notifications to the platform permissions
  • [ ] add fallback _requestNotificationsPermissions method to be called if browser doesn't supports Permissions API. how to do it see here: https://github.com/GoodDollar/desktop-notifications-sw-test/blob/master/src/useNotifications.js

johnsmith-gooddollar avatar Jun 23 '22 13:06 johnsmith-gooddollar