• This project
    • Loading...
  • Sign in

Phecda / react-native-lewin-qrcode

Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • react-native-lewin-qrcode
  • index.js
  • lizhiyu's avatar
    支持安卓和iOS init 1.0 · 69fae1cc
    69fae1cc Browse Files
    lizhiyu authored 2018-04-18 18:18:59 +0800
index.js 207 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9

'use strict'

const { NativeModules } = require('react-native');
  export const  readerQR= (fileUrl)=>{
    var QRScanReader = NativeModules.QRScanReader;

    return QRScanReader.readerQR(fileUrl);    
  }