Open vishal-revdiwala opened 3 years ago
Anyone suggest how to make use of this available plugin, as I tried installation with this command:
cordova plugin add https://github.com/gsiuniak/cordova-silent-mode But when I am trying to access SilentMode.init(), it's throwing error: not found.
cordova plugin add https://github.com/gsiuniak/cordova-silent-mode
yes, so you just do that on top of your declarations
declare var SilentMode;
it should work, though I cannot make it detect ringer off (silent) it is always reporting ringer ON
Anyone suggest how to make use of this available plugin, as I tried installation with this command:
cordova plugin add https://github.com/gsiuniak/cordova-silent-mode
But when I am trying to access SilentMode.init(), it's throwing error: not found.