【问题标题】:barcodescanner in react-native for both ios/android用于 ios/android 的 react-native 中的条码扫描器
【发布时间】:2016-04-14 05:35:55
【问题描述】:

嘿,我正在尝试在 react-native 中使用条形码扫描仪,我使用 react-native-camera 它显示了一些我在其中提到的错误https://github.com/lwansbrough/react-native-camera/issues/242。 react-native 中是否有任何用于 qr 代码阅读器的模块,对于 android,使用 react-native-barcodescanner,它在 android 中工作,就像这里有任何模块一样,请给我建议。非常感谢任何帮助

【问题讨论】:

    标签: react-native react-native-camera


    【解决方案1】:

    我创建了一个项目来组合 react-native-camera(适用于 iOS)和 react-native-barcodescanner(适用于 Android),发布于 https://github.com/applean/react-native-barcode-scanner-universal。您可以阅读https://github.com/applean/react-native-barcode-scanner-universal#install 了解如何安装和使用它。

    它只是提供了相同的模块来使用,但有一些不同的细节。

    【讨论】:

    • react-native-barcodescanner 仅读取 QR 码。任何解决方法?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-07-11
    • 1970-01-01
    • 2018-03-13
    相关资源
    最近更新 更多