SharezoneApp / sharezone-app

Sharezone is a collaborative school organization app for iOS, Android, macOS and web with +500,000 downloads. Built with Flutter & Firebase.
https://sharezone.net
European Union Public License 1.2
254 stars 46 forks source link

Huawei P 30 Lite: Android app crashes when selecting an image from the gallery #1635

Closed nilsreichardt closed 1 month ago

nilsreichardt commented 1 month ago

https://github.com/SharezoneApp/sharezone-app/assets/24459435/c5caf7b0-7b35-405d-b090-ce7848ed7e31

      Caused by java.io.IOException: Permission denied
       at java.io.UnixFileSystem.createFileExclusively0(UnixFileSystem.java)
       at java.io.UnixFileSystem.createFileExclusively(UnixFileSystem.java:317)
       at java.io.File.createTempFile(File.java:2018)
       at com.mr.flutter.plugin.filepicker.FileUtils.createImageFile(FileUtils.java:1)
       at com.mr.flutter.plugin.filepicker.FileUtils.compressImage(FileUtils.java:1)
       at com.mr.flutter.plugin.filepicker.FilePickerDelegate$2.run(FilePickerDelegate.java:92)
       at java.lang.Thread.run(Thread.java:929)