diff --git a/CHANGELOG.md b/CHANGELOG.md index 703536b0..94b3ac03 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] +- We excluded react-native-vision-camera-barcode-scanner from iOS. The Barcode Scanner widget only uses it on Android; on iOS it uses Apple's built-in scanner from react-native-vision-camera. +- This version of Native Template is required for the Barcode Scanner widget version 4.6.0 or above (Native Mobile Resources version 12.6.0 or above). + ## [19.1.7] - 2026-09-23 - We removed some unused Android Permissions coming in from Manifest mergers. diff --git a/react-native.config.js b/react-native.config.js index c9991bd5..49ed43b1 100644 --- a/react-native.config.js +++ b/react-native.config.js @@ -1,4 +1,11 @@ module.exports = { dependencies: { + 'react-native-vision-camera-barcode-scanner': { + platforms: { + // Android only: on iOS the Barcode Scanner widget uses Apple's scanner from react-native-vision-camera. + // This also keeps Google ML Kit, which has no arm64 iOS simulator support, out of the iOS app. + ios: null, + }, + }, }, };