Skip to content

On devices with older Chrome kernels, SDK initialization fails, likely due to a problem with PerformanceObserver. #73

@Gomy

Description

@Gomy

❓ General Issue

The Question

On some TV devices with a fixed browser kernel version, executing ClickstreamAnalytics.init() will fail.

Most of the errors within the SDK point to PerformanceObserver.

Other information

SDK version: 0.12.6

Examples of errors:

  1. ReferenceError: PerformanceObserver is not defined

  2. Failed to execute ‘observe’ on 'PerformanceObserver': A Performance Observer MUST have a non-empty entryTypes attribute.

Abnormal TV device/simulator:

LG TV 2017

UA: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.122 Safari/537.36 WebAppManager

LG TV 2018, LG TV 2019

UA: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.34 Safari/537.36 WebAppManager

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions