Rootbeer plugin help


#1

i am trying to use rootbeer phonegap plugin

it provides code like

window.cdvRootBeer.isRooted(function(res){
}, function(res){
});

but it does not work in my appcomponent.ts file, how to use it ?