Nativescript: Feature request: Server-Sent Events API

Created on 12 Aug 2016  路  6Comments  路  Source: NativeScript/NativeScript

I didn't find whether it's planned to be supported in NativeScript.
https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events

Would be awesome to have this on board. I know there are some plugins for websockets, but HTTPS/2 + SSE sounds more promising.

feature help wanted

Most helpful comment

The plugin supports Android & IOS now :smile: so @tsonevn or @hshristov you can close this if you want

All 6 comments

I was trying to find information on using SSE with NativeScript and stumbled on this Github Issue. Is there currently no way to have SSE work with NativeScript?

@terreb @statiklabs you can check out https://www.npmjs.com/package/nativescript-sse #IOS support coming soon :smile:

The plugin supports Android & IOS now :smile: so @tsonevn or @hshristov you can close this if you want

@triniwiz Unfortunately the plugin doesn't work, at least on iOS. The demo app crashes on connection closing and messages not coming.

Hi @terreb,

In case there are issues related to the plugin you can open issue in the plugins repo

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nirsalon picture nirsalon  路  3Comments

kn9ts picture kn9ts  路  3Comments

guillaume-roy picture guillaume-roy  路  3Comments

pocesar picture pocesar  路  3Comments

Pourya8366 picture Pourya8366  路  3Comments