@react4tv/smart-tv-platform
v1.0.0
Published
Util detect platform SmartTV
Downloads
7
Maintainers
Readme
SmartTV Platform
Library detech the platfom of SmartTV: Tizen, WebOS,...
Installation
Using npm:
npm install --save @react4tv/smart-tv-platform
or using yarn:
yarn add @react4tv/smart-tv-platform
Usage
Gets the application instance ID.
Examples
import { PlatformInstance } from '@react4tv/smart-tv-platform';
PlatformInstance.isTizen()//boolean
//Check SmartTV Tizen or WebOS
PlatformInstance.isSmartTV()
Release Notes
See the CHANGELOG.md