expo-barcode-scanner-interface

3.0.0 • Public • Published

expo-barcode-scanner-interface

An interface for expo-barcode-scanner.

Installation

This package is pre-installed in managed Expo projects. You may skip the rest of the installation guide if this applies to you.

For bare React Native projects, you must ensure that you have installed and configured the @unimodules/core package before continuing.

Add the package to your npm dependencies

npm install expo-barcode-scanner-interface

Configure for iOS

Add the dependency to your Podfile and then run pod install.

pod 'EXBarCodeScannerInterface', path: '../node_modules/expo-barcode-scanner-interface/ios'

Configure for Android

  1. Append the following lines to android/settings.gradle:
include ':expo-barcode-scanner-interface'
project(':expo-barcode-scanner-interface').projectDir = new File(rootProject.projectDir, '../node_modules/expo-barcode-scanner-interface/android')
  1. Insert the following lines inside the dependencies block in android/app/build.gradle:
api project(':expo-barcode-scanner-interface')

Contributing

Contributions are very welcome! Please refer to guidelines described in the contributing guide.

Package Sidebar

Install

npm i expo-barcode-scanner-interface

Weekly Downloads

267

Version

3.0.0

License

MIT

Unpacked Size

7.86 kB

Total Files

13

Last publish

Collaborators

  • radoslawkrzemien
  • pkham
  • szdziedzic
  • tsapeta
  • ide
  • lukmccall
  • jesseruder
  • terribleben
  • sjchmiela
  • esamelson