Suggested documentation improvement #162
Labels
docs
Improvements or additions to documentation
package: barcode-scanning
platform: android
Android platform
Plugin(s)
Version
6.1.0
Platform(s)
Current behavior
I encountered the issue where older Android devices will fail on a call to the scan() menu, because the Google Barcode Scanner is not pre-installed. Even though I am somewhat experienced with this plugin, I spent the better part of two days investigating and implementing my own solution to this, before I noticed the documentation notes under scan() regarding
installGoogleBarcodeScannerModule()
and isGoogleBarcodeScannerModuleAvailable()
. This is after multiple reads of the installation instructions for Android. I did not think to look under scan() per se.I suggest adding documentation to the Android installation section covering this issue. I will create a PR with a suggested documentation update.
Expected behavior
Android installation documentation should cover the optional use of
installGoogleBarcodeScannerModule()
.Reproduction
https://github.com/viking2917/capacitor-mlkit
Steps to reproduce
Review the current Android installation documentation.
Other information
No response
Capacitor doctor
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 6.1.0
@capacitor/core: 6.1.0
@capacitor/android: 6.1.0
@capacitor/ios: 6.1.0
Installed Dependencies:
@capacitor/cli: 6.1.0
@capacitor/core: 6.1.0
@capacitor/android: 6.1.0
@capacitor/ios: 6.1.0
[success] iOS looking great! 👌
[success] Android looking great! 👌
Before submitting
The text was updated successfully, but these errors were encountered: