Is this the right kind of approach? #1
From @marcoscaceres on the WICG discourse:
These are great questions. We could tackle them separately but I think the real question is whether the high level approach of this API is right, or if we should go with something quite different.
A completely different approach might be to do something specific to notifications, and solve it more as an extension to the notifications API. Marcos, is that what you were thinking?
About the security aspects, note that only related native apps can be queried - there would need to be some link created from the web app to the native app, and from the native app to the web app, for this to work. This would require one party to have control of both the web app and native app.