Show Notification by new article published

How can I read JSON file and show notification when new article published?

Read this
Write: JS function for parse JSON --> function that compares old and new news --> notification fucntion --> Toast framework7 function


but i need native WhatsApp when recive new message

You need more expanded like Cordova to access the export for OS

Use phonegap plugin push

Or use Firebase Cloud Messaging for web app web push It has detailed documentation on how to implement it in app. But it also will required server-side

does it show notification when application is cloesed?

Firebase - Yes
phonegap plugin push - yes, but there are exceptions