-
Notifications
You must be signed in to change notification settings - Fork 3
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
Force close on Android version 8.1 #1
Comments
It looks like access to /proc/asound/devices is forbidden without root on Oreo 8.1 I've tested it on my Nexus 5X running 8.1 too using Termux:
|
looks like that with android 8.1 /proc/asound/devices is not readable without root. I need to use another way to check for mic availability. (maybe with AudioRecord requesting the mic) thanks for the issue! |
My friend with OnePlus 5, Oreo 8.0 and Oxygen OS did a test right now. So this "issue" is present on both 8.0 and 8.1 |
@simonesestito but using root is unsecure, so I won't support it. I can easily request the microphone and check if it's used. |
Agree with @veetaw that it is best to keep it simple as it is now and support only factory stock devices |
I think that there isn't a good way to check for mic availability that is not the one I've already used. So, should I disable the microphone feature for android O users ? :/ btw, sorry for the delay |
Do you think as an alternative for 8.x users, it can be done via WRITE_SECURE_SETTINGS? |
I'll check better, thanks. |
Tried app but it force close on:
Model: Nexus 5X
Android version: 8.1.0
Security patch level: December 5, 2017
Logcat:
The text was updated successfully, but these errors were encountered: