-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
android.os.FileUriExposedException with file:// sound (Android 7) #1181
Comments
same here...any work-arounds? |
same here |
same here |
+1 |
1 similar comment
+1 |
See my comment for work-around: #1261 (comment) |
Some time ago I started trying to fix this by adopting the content:// protocol as @vegham said in his comment. You can find my progress at matijse@b75cbf4, but that didn't work yet. I haven't had time to finish it, but it might be a starting point for someone else... |
Has been fixed with 0.9-beta |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When scheduling a notification on Android 7, using a
file://
url for the sound, I get anandroid.os.FileUriExposedException
when the notification takes place.This is only on Android 7 and up, as confirmed by https://developer.android.com/reference/android/os/FileUriExposedException.html
Code
Complete error message
The text was updated successfully, but these errors were encountered: