Also Read: How to listen to YouTube Videos in the Background on iPhone and on iPad
1) First of all, add Desktop Notifications app to your Android device.
2) Now you need to add an extension to your PC's browser. There is an extension for Chrome and for Firefox.
3) Now open the app on Android phone and from settings of the app get a code under "Connect" tab.
4) Enter that code into an extension of the browser.
5) On app press on the "Open Accessibility Settings" button and turn on "Desktop Notification" feature.
6) Now you will get all your Android device notifications on your Windows, Linux or on macOS.
You can customize some settings from the app.