Wondering what’s next for npm?Check out our public roadmap! »

    react-native-live-camera-frames
    TypeScript icon, indicating that this package has built-in type declarations

    3.37.3 • Public • Published

    React Native Camera

    react-native-camera for enterprise

    Available as part of the Tidelift Subscription

    The maintainers of react-native-camera and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. Learn more.

    Open Collective

    You can also fund this project using open collective

    The comprehensive camera module for React Native.

    Supports:

    • photographs.
    • videos
    • face detection (Android & iOS only)
    • barcode scanning
    • text recognition (optional installation for iOS using CocoaPods)

    Example import

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

    To use the camera,

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

    To enable video recording feature you have to add the following code to the 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 must 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.

    Install

    npm i react-native-live-camera-frames

    DownloadsWeekly Downloads

    9

    Version

    3.37.3

    License

    none

    Unpacked Size

    22.3 MB

    Total Files

    3737

    Last publish

    Collaborators

    • avatar