duolicious / duolicious-frontend

The frontend of the Duolicious dating app
https://duolicious.app/
GNU Affero General Public License v3.0
34 stars 15 forks source link

Image cropper doesn't work in Android 15 #417

Closed duogenesis closed 2 months ago

duogenesis commented 2 months ago

Report from a user:

Unable to verify on Android, it requires uploading a photo from gallery, after doing so when it requires you to crop, it only does the top leftmost of the photo and not the entire photo

Android 15, Google Pixel 6 Pro

According to Wikipedia, general availability of Android 15 was on September 3, 2024, which is 16 days ago at the time of writing. The image cropper works in Android 12 and 13.

React Native's Image.getSize has previously had inconsistent behavior across mobile and web platforms, so this is where I'd start investigating.


After some investigating, it turns out that the issue had nothing to do with the new version of Android and everything to do with Image.getSize.