VideoCall Service Worker

Sinch web client requires the registration of a Service Worker in order to work properly. Please note that Service Workers requires "https" protocol to be used (only localhost can be used with HTTP).

Among the resources imported by WorkWithPlus, a new "File" containing the Service Worker javascript is distributed.

videocall_serviceworker

By default, this file will copy itself to the Web model automatically, but if you are using a Deployment Unit or "Deploy to Cloud" in Java you will need to add the file manually.

In case of using a deployment unit, simply add the file to all your deployment units.

videocall_serviceworker_deploymentunit

If you are using GeneXus "Deploy to Cloud" with the Java generator, you must manually copy the .js file to Tomcat's web app root. The file can be copied from the model's target path, e.g.: "<Model Path>\Web\wwpvideocall-sw.js"

videocall_serviceworker_cloudjava