Skip to content

Issue/12126 fix image upload issues #12127

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

Merged
merged 3 commits into from
Jul 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
- [**] Product Creation AI V2: Milestone 1 which simplifies package photo flow and revamps UI. [https://github.com/woocommerce/woocommerce-android/issues/11800]
- [*] The more screen shows proper loading button statuses [https://github.com/woocommerce/woocommerce-android/pull/11968]
- [*] [Login] Improved login reliability by addressing some edge-case issues [https://github.com/woocommerce/woocommerce-android/pull/12033]
- [*] Fix an issue with image upload on devices running Android 8 and 9 [https://github.com/woocommerce/woocommerce-android/pull/12127]

19.5
-----
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,6 @@ object FileUploadUtils {
* @return A local {@link Uri} or null if the download failed
*/
private fun fetchMedia(context: Context, mediaUri: Uri): Uri? {
if (MediaUtils.isInMediaStore(mediaUri)) {
return mediaUri
}

return try {
MediaUtils.downloadExternalMedia(context.applicationContext, mediaUri)
} catch (e: IllegalStateException) {
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ ext {
materialVersion = '1.6.1'
hiltJetpackVersion = '1.1.0'
wordPressUtilsVersion = '3.5.0'
mediapickerVersion = '0.3.0'
mediapickerVersion = '0.3.1'
wordPressLoginVersion = '1.17.0'
aboutAutomatticVersion = '0.0.6'
automatticTracksVersion = '5.0.0'
Expand Down
Loading