Or other apps can provide functionality as a module as part of the app - like notifications. Apps can then request notifications are installed with "dependencies": {"notify":"type"},.
The nice bit about the third option is an app can request notifications, but you have a choice about which app you install that provides notifications (so you can for instance have ones that look a bit different)
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Yes - this already happens. You have a few options:
"dependencies": {"notify":"type"},
.The nice bit about the third option is an app can request notifications, but you have a choice about which app you install that provides notifications (so you can for instance have ones that look a bit different)