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
[TIMOB-25541] Android: Use ContentProvider in EmailDialog #9520
Conversation
The same issue with file URI's being sent directly is fixed by replacing direct URI's with content provider URIs.
Thank you! |
Generated by 🚫 dangerJS |
@alg, thanks for catching this issue. This is definitely the right solution. However, the code needs 1 more change. In the intent.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); |
@jquick-axway @lokeshchdhry This may have fallen behind because the JIRA references a 6.3.0 fix-version. Should we get this in for 7.0.0? Thanks @sgtcoolguy for the review! |
From looking at the code again, I'm pretty sure attachments will still fail on Android 7.0 and higher. We would have to test it to be sure, but I think the This requires a bit of experimentation. I can look into it later. I wrote up a separate ticket to make sure this isn't forgotten here... |
…s to attach files on Android 7.0 and higher. Also done the following: - Now falls-back to writing to sandboxed temp directory if unable to write to external storage. - Improved error log message when blobs failed to attach.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CR: PASS
FR Passed Verified on android 8.0, 7.1.1, 6.0.1, 4.4.2 For https://jira.appcelerator.org/browse/TIMOB-23482:
For https://jira.appcelerator.org/browse/TIMOB-25541:
Studio Ver: 5.0.0.201712081732 |
JIRA:
Summary:
Test: