Can't use service workers in Tizen web app

I’m testing out the capabilities of Tizen web apps and was trying to use a Service Worker since the documentation marks them as supported since Tizen 3.0. However, when I try to register my service worker, I get this error:
DOMException: Failed to register a ServiceWorker: No URL is associated with the caller’s document.

I’ve read that this is likely because the web app is served from file://index.html and service workers need a non-file URL. Does anyone have a solution for this? Can the web app be made to serve from a non-file URL or is there a way to register the service-worker in this context?

Have you opened a Smart TV Office Enquiry 1:1 Q/A?

They are asking that these questions be submitted there so they can better track where the issues are.

Ron
Samsung Developer Relations

Thanks for your reply!

No, I haven’t talked with that QA group. I’m unfamiliar with that. Where can I open a ticket? Do I need to be a partner for that? I’m just doing a POC of what we can use with Tizen.

First try the Quick Start Guide and scroll down to the FAQ for Web apps

Or you can go login to the seller store with your Samsung Account without being a partner and then go to the Q&A page and ask a question there.

I hope this helps, I"m not a smart TV developer just a moderator for the entire forum.

Ron
Samsung Developer Relations

Thanks! I’ll give that a try.

Whew! It took a lot of work to submit an app just so I could ask a question, but I managed it. I’ll post here if I get an answer back.

I think they do it so they only get serious developers. There are a lot of people that want to hack the TV to install pirate software.

Ron
Samsung Developer Relations

HI Team,

[EAS based on FCM] will support for Tizen tv web based application…?