Implementing Push Notifications in Tizen TV Web Application

Original Created Oct 03, 2018 | Regeneration Apr 22, 2026

I'm developing a TV Web application and need to implement push notifications. I've successfully registered with the Push Service and obtained a regID (starting with "05"), but despite sending notifications via Postman, my app isn't receiving them.

Key issues:

  1. Push notifications aren't being received despite proper registration
  2. The notification callback function isn't executing
  3. Need to know if Firebase Cloud Messaging is a viable alternative
  4. Need to display notifications when the app is in background

Additional details:

  • Using Korean API despite being in Europe
  • Included appID, appSecret, and Content-Type in headers
  • Tried modifying notificationCallback parameters without success
  • Explored Firebase Cloud Messaging but couldn't get ServiceWorker to work

Problem Understanding

The user is facing issues with push notification implementation in a Tizen TV Web application, specifically with:

  1. Notification delivery failure
  2. Callback function execution
  3. Alternative notification methods
  4. Background notification display

Solution Methods

  1. Push Notification Configuration

    • Ensure target device runs Tizen 3.0 or higher
    • Add both 'internet' and 'push' privileges in config.xml
    • Verify all prerequisites from the official documentation
  2. Service Worker Check

    • Confirm Service Worker support using:
      if ('serviceWorker' in navigator) {
          console.log('Service worker is Supported');
      } else {
          console.log('Service worker is not Supported');
      }
      
  3. Notification Handling

    • Review the notification handling documentation for:
      • Application running state
      • Application background state

Code Examples

For checking Service Worker support:

if ('serviceWorker' in navigator) {
    console.log('Service worker is Supported');
} else {
    console.log('Service worker is not Supported');
}

Additional Tips

  • Double-check all API keys and registration details
  • Verify network connectivity and server configurations
  • Consider testing with different notification payloads
  • Review the updated documentation on Samsung Tizen OS for current best practices

Customize your cookie preferences

You can enable or disable non-essential cookies. Essential cookies are always on to ensure the site works properly and to keep you signed in.

Necessary

These cookies are necessary for the website to function properly and cannot be switched off. They help with things like logging in and setting your privacy preferences.

Always on

Analytics

These cookies help us improve the site by tracking which pages are most popular and how visitors move around the site.

Enable analytics cookies
Public Forum Public Forum
Employees only. Please sign in with your company account.