Skip to content

Latest commit

 

History

History
50 lines (30 loc) · 831 Bytes

README.md

File metadata and controls

50 lines (30 loc) · 831 Bytes

React Native iOS Live Text Image

Scans text as well as QRCode.

live.text.demo.mp4

Installation

// yarn
yarn add react-native-live-text-image-view

// npm
npm install react-native-live-text-image-view

cd ios/ && pod install

Note: Requires iOS 16. Fallbacks to UIView below it.

API

import { LiveTextImageView } from 'react-native-live-text-image-view';

<LiveTextImageView>
  <Image
    source={{
      uri: 'https://images.unsplash.com/photo-1518893494013-481c1d8ed3fd?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1770&q=80',
    }}
    style={{ height, width }}
    resizeMode="contain"
  />
</LiveTextImageView>;

Example

  • git clone repo
  • cd example