Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use into Ionic mobile app #1

Open
vishal-revdiwala opened this issue Dec 2, 2020 · 1 comment
Open

How to use into Ionic mobile app #1

vishal-revdiwala opened this issue Dec 2, 2020 · 1 comment

Comments

@vishal-revdiwala
Copy link

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.

@numerized
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants