Skip to content

miloproductionsinc/cordova-plugin-isTvBox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

isTVBox

This plugin will detect if app is running on android TV device or not.

Adding

cordova plugin add https://github.com/miloproductionsinc/cordova-plugin-isTvBox.git

USAGE

window.plugins.isTvBox.checkTvBox(function(success) {
    if(success === "TV Device"){
        // for tv
    } else{
        //for non tv
    }
  }, function(err) {
    console.log('Uh oh... ' + err);
  });

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published