App crashes when selecting large image with expo-image-picker

Please provide the following:

  1. SDK Version: 39.0.5
  2. Platforms(Android/iOS/web/all): Android

On some huawei devices, when user is trying to select large image (~3MB or more) the app crashes instantly.

I use expo-image-picker module.

This is the error message returned in logcat:

2020-12-08 21:52:03.960 12008-12055/? E/ResponseCache: unable to read cache /data/user/0/ (No such file or directory)
        at Method)
        at lto.a(PG:3)
        at ltn.b(Unknown Source:5)
        at$onCreate$2$DriveApplication(Unknown Source:55)
        at Source:2)
        at vmd.d(PG:5)
        at vjp.f(PG:1)
        at vmk$ Source:2)
        at vjz$
        at Source:0)
        at java.util.concurrent.ScheduledThreadPoolExecutor$
        at java.util.concurrent.ThreadPoolExecutor.processTask(
        at java.util.concurrent.ThreadPoolExecutor.runWorker(
        at java.util.concurrent.ThreadPoolExecutor$
2020-12-08 21:52:03.962 12008-12022/? E/MemoryLeakMonitorManager: MemoryLeakMonitor.jar is not exist!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.