# شريط جديد لطلبات أذونات الإشعارات؟

**URL:** <https://meta.discourse.org/t/new-notification-permissions-request-bar/85043>\
**Category:** UX\
**Created:** [11 أبريل 2018، 2:00ص UTC](https://meta.discourse.org/t/new-notification-permissions-request-bar/85043 "2018-04-11T02:00:22Z")\
**Posts on this page:** 1\
**Showing post:** 24

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [13 أبريل 2018، 7:38ص UTC](https://meta.discourse.org/t/new-notification-permissions-request-bar/85043/24 "2018-04-13T07:38:23Z")

</div>

I discussed this with @tgxworld today on the call and there are complications.

What we have is this:

**Current way**

- Every tab listens on message bus

- If a notification lands, we present to user

- 🤢 When all tabs are closed desktop gets no notifications

- 🤩 Simple with no vendor lock in

**Push notification way**

- Service worker registers with **Mozilla** or **Google** or **Microsoft**

- Server gets a notification for a user

- Server sends encrypted blob to **Mozilla** or **Google** or **Microsoft**

- **Mozilla** or **Google** or **Microsoft** send encrypted notification to browser

- 🤩 When all tabs are closed desktop still gets notifications

- 🤢 vendors like **Mozilla** etc. have user IP addresses and know when we ship the IP addresses notifications

* * *

So it is not clear-cut here, if we move to pure push notifications we give up on privacy which we have no choice on mobile but plenty of choice on Desktop.

I still feel like having 2 ways of doing the same thing is not ideal so my suggestion would be:

### Have 1 UI for both features, get rid of plugin

1. On Android where we have **no choice** we just use the push feature (which uses the same ui we already have).

2. On Desktop

@codinghorror thoughts?

Note: there was another alternative @tgxworld was going to investigate to see if a Discourse server can act as a push server, but I am not sure this is a 🐇 hole we want to go down.

---

_[View the full topic](https://meta.discourse.org/t/new-notification-permissions-request-bar/85043)._
