Originally published on the Capawesome blog .
Barcode scanning works on Android devices without Google Play services, as long as the ML Kit model ships inside your app instead of being downloaded through Play services. That makes a Capacitor barcode scanner without Google Play services possible on Huawei phones released after May 2019, Amazon Fire tablets, and AOSP-based kiosk and rugged devices. This guide explains the bundled and unbundled ML Kit models, which methods of the free, open-source Capacitor ML Kit Barcode Scanning plugin rely on Play services, and how the Capacitor Barcode Scanner plugin avoids Play services on every path. The ML Kit plugin is an unofficial plugin maintained by Capawesome and is not affiliated with Google.…