Giter Site home page Giter Site logo

taboca / doc-js-example-qrcode-cam-example Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 2.31 MB

An example of a basic "React-native init" app plus the project react-native-qrcode-scanner - Android only

JavaScript 16.00% Python 20.38% Java 17.71% Objective-C 45.91%

doc-js-example-qrcode-cam-example's Introduction

Working example for QRCode app

This project is the result of an attempt to get a QRCODE scanner Android application working using React-native and the following packages:

  • react-native-qrcode-scanner
  • react-native-camera

Notice this was done in 9 July 2018. The purpose of this repository is to offer you an easy view about the changes that I had to do based on the initial state of a React-native application (the files produced by "react-native init MyApp"). Therefore this repository have only one major change:

The initial code

The initial code refers to the files produced by the "react-native init YourAppName". You can see the initial code here.

Packages installation changes

Once you have the initial React-native -based app, let's install the required packages dased in the documentation from react-native-qrcode-scanner:

npm install react-native-camera --save
react-native link react-native-camera
npm install react-native-qrcode-scanner --save
react-native link react-native-qrcode-scanner
react-native link react-native-permissions
react-native run-android

Patching gradle

According to Upgrade gradle for Android Projects it' was necessary to patch the gradle infrastructure.

doc-js-example-qrcode-cam-example's People

Contributors

taboca avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.