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

IOS not working #3

Closed
liho00 opened this issue Apr 5, 2022 · 4 comments
Closed

IOS not working #3

liho00 opened this issue Apr 5, 2022 · 4 comments

Comments

@liho00
Copy link

liho00 commented Apr 5, 2022

ringerMode is undefined on IOS 15

@kutsan
Copy link
Collaborator

kutsan commented Apr 6, 2022

Because of the limitations of Apple, as far as I know it's not possible to control ringer mode on iOS devices, so which makes this library an Android-only one. I think this should have mentioned in the README better.

@liho00
Copy link
Author

liho00 commented Apr 6, 2022

How about accessing the silent mode state & do not disturb state, without controlling these mode?

One of the use case of accessing these state is notify user he's in silent mode probably not able to get notified when notification comes in.

@kutsan
Copy link
Collaborator

kutsan commented Apr 6, 2022

@liho00 Still, as far as I know there is no such API to get status of whether or not device in its silent mode. I guess Apple restricts developers to access it because of privacy concerns. But I think it's possible to access focus feature of iOS devices and this can be implemented.

@reyhankaplan
Copy link
Owner

Hi @liho00, as @kutsan said I don't know a way to support iOS at the moment. If you find a way to do it, we are open to PRs. I'll keep an eye on this topic, thanks!

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

3 participants