UNPKG

@docutain/react-native-docutain-sdk

Version:

React Native plugin of the Docutain Document Scanner SDK for Android and iOS. High quality document scanning, data extraction, text recognition and PDF creation for your apps. Easily scan documents in your app.

28 lines (24 loc) 924 B
"use strict"; /** * Docutain SDK React Native * Copyright (c) INFOSOFT Informations- und Dokumentationssysteme GmbH. All rights reserved. * * Docutain SDK React Native is a commercial product and requires a license. * Details found in the LICENSE file in the root directory of this source tree. */ import { NativeModules, Platform } from 'react-native'; export * from './model'; const LINKING_ERROR = `The package 'react-native-docutain-sdk' doesn't seem to be linked. Make sure: \n\n` + Platform.select({ ios: "- You have run 'pod install'\n", default: '' }) + '- You rebuilt the app after installing the package\n' + '- You are not using Expo Go\n'; /** * Main class of the Docutain SDK. */ const DocutainSDK = NativeModules.DocutainSdk ? NativeModules.DocutainSdk : new Proxy({}, { get() { throw new Error(LINKING_ERROR); } }); export default DocutainSDK; //# sourceMappingURL=index.js.map