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

Android-12 FileUriExposedException when sending Intent #26

Open
locuturus opened this issue Nov 23, 2022 · 1 comment
Open

Android-12 FileUriExposedException when sending Intent #26

locuturus opened this issue Nov 23, 2022 · 1 comment

Comments

@locuturus
Copy link

I can intercept and view intents but on my Android 12 Sony Xperia 5 iii I get a toast message warning if I try to send the edited intent. In this case I am intercepting the open directory buttons from Syncthing fork.

I wonder if it's related to this discussion:
https://stackoverflow.com/questions/48117511/exposed-beyond-app-through-clipdata-item-geturi

See image from this app:
Screenshot_20221122-223140

And from App Manager which behaves the same way but throws a different toast:
Screenshot_20221122-223827

@k3b k3b changed the title Cannot Send Intent Android-12 FileUriExposedException when sending Intent Nov 24, 2022
@k3b
Copy link
Owner

k3b commented Nov 24, 2022

Modern Android does not allow to send file uri-s any more.

file:https://storage/emulated..... is a file uri.

There is nothing i can do about :-(

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

No branches or pull requests

2 participants