If you're using firebase then you will find push notification in main terminal of your firebase project and you won't be able to run service worker javaScript on it for offline data handling but you can use it for push notification. can you explain more about question be brief.!