Discussion on notifications

(Francisco) #1

Hi folks,

the discussions around how we should re-engage the user (aka notify the user) started taking place in github.

Here is the issue to track it:

Also for those ones that want to know a sneak peak of the first discussion, this was the output by @wilsonpage:

Myself and @arcturus had a discussion offline I’ll attempt to summarise the outcomes:

Ideally we should not make any data/fetch requests during background
scanning to conserve battery. We can still display 'N items discovered’
and fetch only when the app is launched.We’re not yet sure if there’s a way background scanning logic can live in JS or must be written for each platform.We need to design a heuristic for when we should notify this will be based on:

Has this tile been seen before?Has this tile been dismissed?


We should have a background service that is spawned periodically to scan for content, populating a ‘history’ database.We should not ping or buzz the user, but use a ‘subtle’ notification that appears in the tray without interrupting the user.If possible we’d also like the notification to appear on the lockscreen.


Notifications are quite different to Android, falling into the categories above.We can use the app icon ‘badge’ (see above) to indicate the number of beacons nearby.We’ll have to periodically wake the app using ‘App Background Refresh’ to perform a scan.Notifications can’t be amended/retracted once sent, so every
notification creates a new item in the notification tray. Although we
hear this will change in iOS 10.As iOS notification are more intrusive, we need smarter heuristics for when to show themWe can prevent a sound being played with our notifications.We aren’t able to prevent the ‘toast’ overlay that is shown, this is
something the user must change in the Settings App -> Notifications

(Francisco) #2

Hi folks, more stuff related to notifications.

First I started to see the notifications coming from Google Play Services not Chrome. So don’t know if this apply to Chrome as well, but here is what I got on my android:

As you can see you they are rolling out the Nearby API, not just Physical web, but to me, this applies to PW too.

Interesting to see concepts, like notify me of new things I found, or block notifications of an specific type.

The second notification gives a bigger explanation of what nearby/physical web is, don’t think we need this, but also to have in mind:

Hope this is interesting for you people!

(Wilson Page) #3

Interesting. Do you have a screenshot showing what the notifications look


Front-end Developer
Connected Devices
London Office

Twitter: @wilsonpage
IRC: wilsonpage

(Francisco) #4

Sure here it comes:

If you realise, the notification try post an icon, and a ‘sub’(icon) of the app that setups the notification. In this case the nearby icon. And specifies that is a link.

Have the feeling that we have 2 competing products, nearby and physical web.

(Francisco) #5

Btw, just tweeted this :stuck_out_tongue:

(Wilson Page) #6

Is the Physical Web notification coming from the ‘Physical Web’ app or from


Front-end Developer
Connected Devices
London Office

Twitter: @wilsonpage
IRC: wilsonpage