PhoneGap Torch Plugin
I am trying to get the torch plugin for phonegap/android to work. I used this code Github Torch Plugin I don't get any errors and I dont know where a possible mistake could be. I am using cordova-2.0.0 library.
This is my index.html
<script type="text/javascript" src="Torch.js">
</script>
<script type="text/javascript" src="TorchFunctions.js">
</script>
</body>
</html>
This is TorchFunctions.js
window.plugins.Torch.toggle(
function() { console.log( "toggle" ) }
, function() { console.log( "error" ) }
);
Iam debugging this on a Samsung Galaxy SIII. I read that there might me problems with Samsung devices - is that true? If so can anybody suggest anything? Maybe the plugin isn't up-to-date. Did anybody work with the plugin recently?