version 4.0.0 crashes on Android devices

Author: Megatron4537Created Jul 30, 2021Updated Jun 11, 2023
LabelsAndroidGoogle ML Kit

Bug Report

Platforms Android Only

Versions

  • Android: ?
  • react-native-camera: 4.0.0
  • react-native: 64.2
  • react: 17.0.1
  • react-navigation: 5.0.0

Description/Current Behaviour rendering with prop onGoogleVisionBarcodesDetected will crash the app

Expected Behaviour

should render and not crash

Steps to Reproduce Render with prop onGoogleVisionBarcodesDetected

Additionals

It worked with 3.44.0, it must be related to the migration from Firebase ML kit to Google ML kit.. either investigate the issue or change the documentation and a breaking change notice/deprecated for Android

Source: react-native-camera/react-native-camera