Is there any way to send push notifications without using service workers ?
Without using service workers, how can I send web push notifications?
2k Views Asked by bvakiti At
2
There are 2 best solutions below
1
Alok Singhal
On
You can use various services like Pusher/Pubnub etc. to send push notifications on your behalf. For example using Pusher and Python, you can do something like this:
from pusher import Pusher
pusher = Pusher(
app_id=u'APP_ID',
key=u'APP_KEY',
secret=u'APP_SECRET'
)
pusher.trigger(u'test_channel', u'my_event', {u'message': u'hello world'})
Related Questions in WEB
- What is the point of definnig Asp.net Intrinsic Objects In different places and what is the different betwen them?
- how to prepend www if the url string does not has www?
- @Value annotation not resolved in a class that belongs to dependency jar
- referral link isn't being locked to one ip
- Under what conditions does href="#" cause scrolling to the top of the page?
- Webpage - Font size of table items on mobile phone browsers changes
- Web Service Error path property must set before calling the send method
- Calling ASP webpage from C# application
- What is the best way to make two web pages communicate between each other back and forth?
- CSS Different screen resolution
- How can hide url value in php
- HTML Control Form with PHP - Errors
- How would I use an only for IE8 and not for any other browser
- Client side computation without exposing code?
- detecting a file downloaded in selenium java
Related Questions in PUSH-NOTIFICATION
- Android: Transferring Data via ContentIntent
- Android Status Bar Icon Size - Using Cordova / Phonegap Push Plugin
- Parse.com - setting up push notifications for single users
- Android Push Notification - Parsing JSON Notification tag name to get raw file (Resource Id or Uri)
- Notification using setFullScreenIntent() for BigTextStyle opening Activity automatically
- Xiaomi does not receive a notification when the application is not running
- Is it possible to send push notifications as per user preference(Time) from parse?
- Cancel pending push notification
- GCM set expiration date for push notifications
- JPush works all over the world?
- Allow user to select notification sound in iOS Notification Settings
- Ios Push notifications not working. (Google play games unity plugin)
- Push notifications that trigger a background refresh before showing the push notification VS silent push
- JavaPNS NoClassDefFoundError
- p12 certificate is always incorrect at Pushwoosh
Related Questions in SERVICE-WORKER
- Encrypting with Crypto Node.js and decrypt with window.crypto in Service-Worker
- Service worker does not load mp3 files
- How to register service workers to a redirected script URL
- HTML5 Push Notifications - examples of other ways to push
- ServiceWorker and Push Notification Payload
- Send Push Notification to everyone with Service Worker
- Polymer auto-register method on platinum-sw-register element
- How can I configure Polymer's platinum-sw-* to NOT cache one URL path?
- Programmatically update service worker if update() is not available
- Service Workers from an iframe for Chrome GCM notifications for web
- Cannot install service worker in Chrome
- Service Worker throws uncaught errors when the server is down
- How to handle fetch events from the very beginning using a Service Worker?
- Server worker being registered twice
- Right place for response parsing in PWA?
Related Questions in WEB-PUSH
- HTML5 Push Notifications - examples of other ways to push
- Chrome Push Notifications: can't subscribe from sub-path
- Push Notifications Chrome (register and wait notifications)
- Service Workers from an iframe for Chrome GCM notifications for web
- Without using service workers, how can I send web push notifications?
- Mobile Web Push Notification - What is the typical Delivery rate? Can it be 100%?
- FCM Token is invalidating for chrome frequently
- Display Web Push Notification with long title/body/text on Chrome/Firefox without having it truncated
- GCM Message ID In Service Worker Push Event
- Push event not firing on send notification from server
- Centos7 firefox(52.2.0 (64-bit)) Browserpush Optin message not coming
- How to add a callback to a function in the moment when it is triggered?
- Is there a way to generate a VAPID key in Laravel for WebPush Notifications?
- Firebase web push notification onclick when the tab is in focus
- How can a home screen PWA on iOS show an app badge count of web push notifications?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
No, in order to use the Push API, you need a Service Worker.