API for non sandboxed apps to use notifications