add notification support on OSX/iOS