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

[media-library][android] Fix exceptions when moving or deleting video assets #31424

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

behenate
Copy link
Member

Why

Fixes #31358

How

In the move strategy and delete we need to handle video types separately as images and videos are stored in different tables in the MediaStore database

Test Plan

Tested in BareExpo on Android SDK 34

@behenate behenate requested a review from lukmccall September 11, 2024 20:52
@expo-bot expo-bot added the bot: suggestions ExpoBot has some suggestions label Sep 11, 2024
@behenate behenate force-pushed the @behenate/media-library/fix-move-and-delete branch from 56eae38 to d58aec6 Compare September 11, 2024 20:53
@expo-bot expo-bot added bot: passed checks ExpoBot has nothing to complain about and removed bot: suggestions ExpoBot has some suggestions labels Sep 11, 2024
@expo-bot
Copy link
Collaborator

expo-bot commented Sep 11, 2024

The Pull Request introduced fingerprint changes against the base commit: f55df2c

Fingerprint diff
[
  {
    "op": "changed",
    "source": {
      "type": "dir",
      "filePath": "../../packages/expo-media-library/android",
      "reasons": [
        "expoAutolinkingAndroid"
      ],
      "hash": "57909fb2370927a077f4e7e2c264fbb6c1313c73"
    }
  }
]

Generated by PR labeler 🤖

@behenate behenate marked this pull request as ready for review September 12, 2024 10:38
@behenate behenate force-pushed the @behenate/media-library/fix-move-and-delete branch from d58aec6 to 4c9e8b3 Compare September 12, 2024 10:44
@juleschavent
Copy link

Is it possible to have an ETA on when this could be merge?
Thanks for the quick reaction btw 👍

@behenate behenate merged commit 5676c81 into main Sep 13, 2024
9 checks passed
@behenate behenate deleted the @behenate/media-library/fix-move-and-delete branch September 13, 2024 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: fingerprint changed bot: passed checks ExpoBot has nothing to complain about
Projects
None yet
Development

Successfully merging this pull request may close these issues.

addAssetsToAlbumAsync crash with video
5 participants