[SOLVED] push notification

Answered
0
0

Hi,

how can  I use push notification in wisej?

regards

Cristian

  • You must to post comments
Best Answer
1
0

Hi Cristian,

if your server and client support websockets there is no special action required for Wisej to support push updates.
Any change on the server is automatically pushed to the client and vice versa.

Just make sure not to explicitly turn off web sockets in your default.json (see enableWebSocket setting, default is true).

If you are starting a task on the server you need to call Application.Update(this) after it´s done to push any changes of it.

Please note that if you´re running on http you can also emulate push updates by using the pollingInterval setting in default. json.

Find more information here: https://wisej.com/docs/1.5/html/Configuration.htm

Hope that helps.

Best regards
Frank

  • You must to post comments
0
0

Hi Frank,

did you have a express suggestions for use push notifications in wisej pwa for mobile?

  • Frank (ITG)
    Cristian, Wisej applications always require a server connection to operate correctly. So PWA is not really what Wisej is made for. Best regards, Frank
  • Cristian Zerbinati
    I know, but I have a customer that want a pwa application that it need always connection
  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.