-
Notifications
You must be signed in to change notification settings - Fork 15
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
D AndroidNative: android.os.FileUriExposedException: file:///storage/emulated/0/DCIM/2018-06-05%2020.19.03.jpg exposed beyond app through ClipData.Item.getUri() #16
Comments
@mjamroz can you please tell which function is being called , we shall try to fix it. |
@rmallah Hi, thanks for your answer. Im calling |
Thanks for the response. Shall see it soon.
regds
mallah.
…On Wed, Jun 6, 2018 at 8:08 PM, Michal Jamroz ***@***.***> wrote:
@rmallah <https://github.com/rmallah> Hi, thanks for your answer.
Im calling
ImagePicker.takePhoto()
to get that error. ImagePicker.pickImage() is working correctly.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#16 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHHZuddEVdjm1y1Ef4MH_6OPDGz26Nm6ks5t5-ltgaJpZM4UbVij>
.
|
Hi @mjamroz , ImagePicker.takePhoto() is also included in the demo program. can you compile the demo please note you will have to install quickandroid to compile the demo program, in the project folder $ qpm install [email protected] (you have to install qpm if you do not have already) I did these and in Android-25 ie version: 7.1.x it does work. regds |
I tried it. I tested directly of quickandroid$ qpm install [email protected]
compiled and opened on my motorola. After clicking icon with camera i got the same error as in my own application:
Selecting photo from storage works (the same like in my own app), only takePhoto() crashes. I tested also as you suggested, getting the same error
... and clicking icon to open native camera, i got:
If you need some more info/tests/etc. let me know. I will be happy to help. |
Relevant Discussion: we shall try to improve upon it. regds |
I would say it will be painful to replace that since qt/qml uses file://. Maybe rather solution from https://stackoverflow.com/a/42437379 ? |
@mjamroz it should be possible to find a proper solution . I don't feel its related to usage thanks for reporting it . For the time being you may use some workaround. regds |
android.os.FileUriExposedException: file:///storage/emulated/0/Documents/Patidar.pdf exposed beyond app through Intent.getData() i got these error what can i do |
When im trying to use it on android 25, then i got the error as in the title. Is there any hope it will be working for the newest targets?
anyway, great package. thank you!
The text was updated successfully, but these errors were encountered: