-
Notifications
You must be signed in to change notification settings - Fork 159
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
Sound is still played when setting volume despite playSound: false
configuration
#31
Comments
Which android phone are you using? |
Samsung Galaxy S6 Edge+ It's still giving me the noise. Any ideas? |
I'm back. I've upload a native Android app, download And the core code looks like:
Slide the progress bar, and tell me the result. |
This works, it changes the 'Media' volume silently. Shouldn't this hypothetically have the same effect for 'Ring' as well you think? Does this differ from the existing code:
where Perhaps 'Ring' is the only edge case that doesn't permit a silent setting..? But I can slide the native setting without an auditory feedback. I wonder if it's due to the version of my Android API which is currently 22. |
Have you tried this SystemSetting.setVolume(value, {
type: 'music',
playSound: false,
}); Is the same with the test app? |
When I set the volume to 0 the system vibrates but makes no sound. However when I set the volume back to the initial setting, it plays a sound. Am I interpreting the
playSound
configuration correctly? It shouldn't be playing a sound when I set the volume back up right?Here's how I am calling the methods:
React version: "16.3.0-alpha.1"
React-Native version: "0.54.0"
React-Native-System-Setting: "^1.4.1"
OS: Android 5.1.1
The text was updated successfully, but these errors were encountered: