johnnyutah
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2016
06:06 AM
Roku Push Notifications Equivalent to IOS/Android
Hello all,
I am exploring using push notifications on a Roku app and wanted to ask the Roku forums for any ideas on how to achieve the push notifications functionality, similar to IOS/Android's use. I am not referring to Roku's built in push notifications for billing but an independent method. Any ideas?
I.E. XMPP server or socket.io server with the Roku client connecting via websocket ( is this even possible with roStreamSocket or ifSocket? ) Has any developer implemented websockets for general use? I would not want to use long polling either.
Cheers to any ideas.
I am exploring using push notifications on a Roku app and wanted to ask the Roku forums for any ideas on how to achieve the push notifications functionality, similar to IOS/Android's use. I am not referring to Roku's built in push notifications for billing but an independent method. Any ideas?
I.E. XMPP server or socket.io server with the Roku client connecting via websocket ( is this even possible with roStreamSocket or ifSocket? ) Has any developer implemented websockets for general use? I would not want to use long polling either.
Cheers to any ideas.
5 REPLIES 5
EnTerr
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2016
05:46 PM
Re: Roku Push Notifications Equivalent to IOS/Android
I was looking for websockets last year and nothing, seems like dead end.
I suppose you can do UDP datagrams, though it's quite unclear how long particular firewall/router will hold the NAT mapping, so client will have to ping regularly to keep-alive and if missed, suddenly server will receive it from another port... seems more trouble that worth it.
I suppose you can do UDP datagrams, though it's quite unclear how long particular firewall/router will hold the NAT mapping, so client will have to ping regularly to keep-alive and if missed, suddenly server will receive it from another port... seems more trouble that worth it.
johnnyutah
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2016
11:18 AM
Re: Roku Push Notifications Equivalent to IOS/Android
Thanks for the confirmation. Any idea on how to achieve this functionality without websocket?
EnTerr
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2016
12:56 PM
Re: Roku Push Notifications Equivalent to IOS/Android
Periodic pull or long polling comes to mind, why not?
WebSockets has the advantage of being full duplex but give you want 1-way notifications, cost/benefits of long-poll seem the same.
WebSockets has the advantage of being full duplex but give you want 1-way notifications, cost/benefits of long-poll seem the same.
sharukh
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2017
03:16 AM
Re: Roku Push Notifications Equivalent to IOS/Android
I am too facing the same issue. I want to enable chat functionality in my Roku app and I want to use XMMP for this. Is it possible to use XMMP within a Roku App ? Please reply !!!!
Best Regards,
Sharukh
Best Regards,
Sharukh
EnTerr
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2017
10:24 AM
Re: Roku Push Notifications Equivalent to IOS/Android
"sharukh" wrote:
I am too facing the same issue. I want to enable chat functionality in my Roku app and I want to use XMMP for this. Is it possible to use XMMP within a Roku App ?
i see no issue doing XMMP using its native transport (TCP) or HTTP. You will however have to implement XMMP yourself, i don't know anyone publishing Roku library for that