LOGIN
Abhi Verma
33
Community Expert
ROBOToTHON 2017 Mentor, Electronics Engineer
 · DelhiIndia
Share
Report
Get Link
QUESTION
Open

Push Notifications services

2 likes 
Like
Award Contribution
Load 10 previous comments
Abhi Verma
33
Community Expert
ROBOToTHON 2017 Mentor, Electronics Engineer
 · DelhiIndia
Share
Report
Get Link

Above all, I posted this question on my wall. But how it’s being shown on someone else’s wall? Steven Reubenstone
I think it’s a bug. Previously it was showing my pic as dp of steven. 😃

Like
1 like 
Award Contribution
Robert Lancer
33
Community Expert
Chief Technology Officer at Collaborizm
 · New YorkU.S.
Share
Report
Get Link

For web notifications we use Service Workers https://developers.google.com/web/fundamentals/getting-started/primers/service-workers they essentially give you an endpoint to push messages to, each endpoint is browser specific, we handle messaging to FF and Chrome.

Notifications on our Native App we use https://firebase.google.com/docs/cloud-messaging/

For our Chat we https://socket.io

Like
2 likes 
Award Contribution
Sai Prasad
23
Community Expert
Software Dev :) Let's build some dream ideas.
 · BhubaneswarIndia
Share
Report
Get Link

Abhi Verma the client can only shut the port who intiated it but in most Wi-Fi modules (if u are using a Wi-Fi module like esp ) there is an inbuilt time out mechanism which shuts automatically after some time of idling… from the server end u can only send messages and it depends on the program how the message is processed at the device end, like after receiving the message u can close the port and open it again or keep it open and read the ipd string for the messages u receive … (this is a particular case for esp )

Like
1 like 
Award Contribution
Ranjan Dailata
37
Community Expert
Application Architect/Lead Developer
 · ChicagoU.S.
Share
Report
Get Link

I suggest to go with pusher. Get started with the free “Sandbox”, you know what it’s worth :)

https://pusher.com/pricing

Like
1 like 
Award Contribution
Abhi Verma
33
Community Expert
ROBOToTHON 2017 Mentor, Electronics Engineer
 · DelhiIndia
Share
Report
Get Link

Sai Prasad i’m more concerned about doing that on gsm gprs module. Esp is pretty good in that. Closing and opening a port works like a charm even for fast application. But on gsm module it’s very time consuming. After a successful open and read of data on port i close it. But next time it’ll not be connected that easily due to mobile networks. GPRS signals are lost with very small data transmission. I was thinking if keeping a port open can solve this issue. This is more about network stability rather then internet protocol issue.

Like
1 like 
Award Contribution
Sai Prasad
23
Community Expert
Software Dev :) Let's build some dream ideas.
 · BhubaneswarIndia
Share
Report
Get Link

Oh Ok Abhi Verma then keeping the port open is rather a better option here. I did not work on any GSM module yet but I guess It might be safe to keep a port open for notification puporses…
Again If its a GSM module why not use SMS for the notification purpose It doesn’t need all these headache, provided the GSM module is capable to receive message and you can even use Kandy Library to send messages from the web. Let me know what do you think of this idea. :-)

Like
0 like 
Award Contribution
Leave a reply...
DISCOVER
CHAT
ALERTS
DISCUSSIONS
FEED
New Post
Facebook Share
Share Link
Help