Socket
Socket
Sign inDemoInstall

react-native-infy-camera

Package Overview
Dependencies
8
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-native-infy-camera

A Camera component for React Native. Also reads barcodes.


Version published
Weekly downloads
1.8K
increased by3.79%
Maintainers
1
Install size
1.37 MB
Created
Weekly downloads
 

Changelog

Source

1.0.3-1 (2018-03-24)

Chores
  • restored original CameraModule.java (7bea109e)
Documentation Changes
  • rncamera:
    • specifying onTextRecognized callback prototype (48611212)
    • docs for text recognition usage (68639b82)
  • codec: document ios codec option (2b9d8db2)
New Features
  • chore: try to automate changelog (cc5f6e62)

  • android:

    • integrating Google Vision's text recognition (fcaa9452)
  • Android:

  • types: update types for video recording codec (f9252254)

  • rn-camera: add codec option for ios (c0d5aabf)

Bug Fixes
  • typo: fix typo on package.json (706278d8)
  • textrecognition: height of text block (01e763b1)
  • issue #1246 - torch will be disabled when starting the record (8c696017)
  • ios-project: fix path to parent's ios project (4496c321)

Readme

Source

React Native Camera Backers on Open Collective Sponsors on Open Collective npm version npm downloads

Docs

React Native infy camera module for React Native.

Supports:

  • photographs.
  • videos
  • face detection (Android & iOS only)
  • barcode scanning
  • text recognition

Example import

import { RNCamera, FaceDetector } from 'react-native-infy-camera';

To install and start react-native-infy-qrcode-scanner:

  1. npm i react-native-infy-camera
Permissions

To use the camera,

  1. On Android you should ask for camera permission:
  <uses-permission android:name="android.permission.CAMERA" />

To enable video recording feature, you must have to add the following code in AndroidManifest.xml:

  <uses-permission android:name="android.permission.RECORD_AUDIO"/>
  <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
  <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

5j2jduk

  1. On iOS, you should update Info.plist with a usage description for camera
...
<key>NSCameraUsageDescription</key>
<string>Your own description of the purpose</string>
...
	

For more information on installation, please refer to installation requirements.

For general introduction, please take a look into this RNCamera.

Keywords

FAQs

Last updated on 07 Nov 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc