devhyper / open-video-editor

Open source Android video editor, built with Media3 and Jetpack Compose.
GNU General Public License v3.0
284 stars 12 forks source link

Crash on opening video via edit or share #70

Closed tomaszk8266 closed 2 months ago

tomaszk8266 commented 2 months ago

When I'm trying to open a video from edit/share button (for example in gallery) the app crashes.

ghost commented 2 months ago

Same happens for me with Fossify Gallery

HighPriest commented 2 months ago

This feature used to work fine like... 2 months ago, so I would suspect the issue being on Fossify Gallery side. I'll check in a moment if older versions of Gallery work.

Nevermind, the 1.0.2 version of Video Editor works fine. The 1.1 crashes on intent reception.

devhyper commented 2 months ago

It looks like if Fossify Gallery is given permission to access all files, then the intent sent has the correct permissions and no crash occurs. If Fossify Gallery only has media permissions, then the intent sent doesn't have the permissions required for some reason.