How to read/receive WhatsApp/other apps notifications?

Hi Everyone,

I am new to the Ionic world and for learning purpose I am developing an app (using ionic 4 and Angular), which will read the messages of WhatsApp/other apps from the notification bar. So my doubt is -

How to read/receive the messages of WhatsApp from the notification bar?

I am sorry If this is a silly question.