inaturalist / react-native-inat-camera

React Native package that provides a camera with optional species recognition.
MIT License
10 stars 6 forks source link

RuntimeException in Camera2.onImageAvailable #49

Closed albullington closed 3 years ago

albullington commented 3 years ago
java.lang.RuntimeException: 
  at android.media.ImageReader$SurfaceImage.nativeCreatePlanes (Native Method)
  at android.media.ImageReader$SurfaceImage.getPlanes (ImageReader.java:896)
  at org.inaturalist.inatcamera.ui.Camera2$4.onImageAvailable (Camera2.java:208)
  at android.media.ImageReader$ListenerHandler.handleMessage (ImageReader.java:800)
  at android.os.Handler.dispatchMessage (Handler.java:106)
  at android.os.Looper.loop (Looper.java:193)
  at android.os.HandlerThread.run (HandlerThread.java:65)

From Google Play Console. Samsung Galaxy, LGE, Redmi, and Motorola devices affected.