- Do not add the serviceworker.js file, as Push Notification does not work here.
- Pass
disable_web_push: trueto the initialization config., so that the SDK does not initialize the Push Notification module. More details are available here. - Pass
disableCookies: trueto disable the usage of any cookies
Supported Features
Integration
Since the TV apps does not have URL and the SDK requires to do a lot of stuff on changing page/screen, it needs to be notified that the page/screen has changed. So you have to call the helper functionMoengage.handle_page_change() on changing the screen
TV Remote Navigation in On-site Messaging (OSM)
We only support horizontal navigation in the template as of now. In the OSM campaign creation, when you select TV as the platform in Step-1, you will only be able to use the limited templates available. In those templates, only horizontal navigation can be used.Deeplinks in OSM Templates
Since the hyper link redirection cannot happen by default in TV as in browsers, there is a event being emitted from the template on clicking on any link and you can listen to that events and handle the redirection.Sample Code
We have created the following sample apps for reference.The Web SDK supports the following TV OS versions:
- LG webOS TV 5.0 and above
- Samsung Tizen 4.0 and above