Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
91 changes: 54 additions & 37 deletions Libraries.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Open Source libraries used in the Scanbot SDK for React Native version 7.1.0
Open Source libraries used in the Scanbot SDK for React Native version 7.1.1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Open Source libraries used in the Scanbot SDK for Android version 7.1.1
Open Source libraries used in the Scanbot SDK for Android version 7.1.2

CWAC-Camera

Expand Down Expand Up @@ -64,6 +64,27 @@ See the License for the specific language governing permissions and
limitations under the License.


PdfiumAndroid

Version 103d5855f797af78a6f33f94cb306ef1c23b2290
(https://github.com/barteksc/PdfiumAndroid)

Original work Copyright 2015 Bekket McClane
Modified work Copyright 2016 Bartosz Schiller

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.


Kotlin Standard Library

Version 1.9.25
Expand Down Expand Up @@ -3256,7 +3277,7 @@ Version 1.1.0

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Open Source libraries used in ScanbotSDK for iOS version 7.1.2:
Open Source libraries used in ScanbotSDK for iOS version 7.1.3:

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Expand Down Expand Up @@ -3333,7 +3354,7 @@ record keeping.)
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
Expand Down Expand Up @@ -3388,21 +3409,21 @@ record keeping.)
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
*
* This library is free for commercial and non-commercial use as long as
* the following conditions are aheared to. The following conditions
* apply to all code found in this distribution, be it the RC4, RSA,
* lhash, DES, etc., code; not just the SSL code. The SSL documentation
* included with this distribution is covered by the same copyright terms
* except that the holder is Tim Hudson (tjh@cryptsoft.com).
*
*
* Copyright remains Eric Young's, and as such any Copyright notices in
* the code are not to be removed.
* If this package is used in a product, Eric Young should be given attribution
* as the author of the parts of the library used.
* This can be in the form of a textual message at program startup or
* in documentation (online or textual) provided with the package.
*
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
Expand All @@ -3417,10 +3438,10 @@ record keeping.)
* Eric Young (eay@cryptsoft.com)"
* The word 'cryptographic' can be left out if the rouines from the library
* being used are not cryptographic related :-).
* 4. If you include any Windows specific code (or a derivative thereof) from
* 4. If you include any Windows specific code (or a derivative thereof) from
* the apps directory (application code) you must include an acknowledgement:
* "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
*
*
* THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
Expand All @@ -3432,7 +3453,7 @@ record keeping.)
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
*
* The licence and distribution terms for any publically available version or
* derivative of this code cannot be changed. i.e. this code cannot simply be
* copied and put under another distribution licence
Expand Down Expand Up @@ -4612,7 +4633,7 @@ ISO-3166-Countries-with-Regional-Codes
Version 10.0
(https://github.com/lukes/ISO-3166-Countries-with-Regional-Codes)

![license](https://i.creativecommons.org/l/by-sa/4.0/88x31.png)
![license](https://i.creativecommons.org/l/by-sa/4.0/88x31.png)
This work is licensed under a [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/).


Expand All @@ -4623,7 +4644,7 @@ JSON for Modern C++
Version v3.11.3
(https://github.com/nlohmann/json)

MIT License
MIT License

Copyright (c) 2013-2022 Niels Lohmann

Expand Down Expand Up @@ -4694,18 +4715,18 @@ Copyright (C) 2007-2009 Antony Dovgal

This software is provided 'as-is', without any express or implied warranty.

In no event will the authors be held liable for any damages arising from the
In no event will the authors be held liable for any damages arising from the
use of this software.

Permission is granted to anyone to use this software for any purpose,including
commercial applications, and to alter it and redistribute it freely, subject
Permission is granted to anyone to use this software for any purpose,including
commercial applications, and to alter it and redistribute it freely, subject
to the following restrictions:

1. The origin of this software must not be misrepresented; you must not claim
that you wrote the original software. If you use this software in a
product, an acknowledgment in the product documentation would be
1. The origin of this software must not be misrepresented; you must not claim
that you wrote the original software. If you use this software in a
product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.

Expand Down Expand Up @@ -5006,23 +5027,23 @@ Version 4.6.0
Copyright © 1988-1997 Sam Leffler\
Copyright © 1991-1997 Silicon Graphics, Inc.

Permission to use, copy, modify, distribute, and sell this software and
Permission to use, copy, modify, distribute, and sell this software and
its documentation for any purpose is hereby granted without fee, provided
that (i) the above copyright notices and this permission notice appear in
all copies of the software and related documentation, and (ii) the names of
Sam Leffler and Silicon Graphics may not be used in any advertising or
publicity relating to the software without the specific, prior written
permission of Sam Leffler and Silicon Graphics.

THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
OF THIS SOFTWARE.


Expand Down Expand Up @@ -5335,7 +5356,7 @@ Version 1.1.1t
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
Expand Down Expand Up @@ -5390,21 +5411,21 @@ Version 1.1.1t
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
*
* This library is free for commercial and non-commercial use as long as
* the following conditions are aheared to. The following conditions
* apply to all code found in this distribution, be it the RC4, RSA,
* lhash, DES, etc., code; not just the SSL code. The SSL documentation
* included with this distribution is covered by the same copyright terms
* except that the holder is Tim Hudson (tjh@cryptsoft.com).
*
*
* Copyright remains Eric Young's, and as such any Copyright notices in
* the code are not to be removed.
* If this package is used in a product, Eric Young should be given attribution
* as the author of the parts of the library used.
* This can be in the form of a textual message at program startup or
* in documentation (online or textual) provided with the package.
*
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
Expand All @@ -5419,10 +5440,10 @@ Version 1.1.1t
* Eric Young (eay@cryptsoft.com)"
* The word 'cryptographic' can be left out if the rouines from the library
* being used are not cryptographic related :-).
* 4. If you include any Windows specific code (or a derivative thereof) from
* 4. If you include any Windows specific code (or a derivative thereof) from
* the apps directory (application code) you must include an acknowledgement:
* "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
*
*
* THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
Expand All @@ -5434,7 +5455,7 @@ Version 1.1.1t
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
*
* The licence and distribution terms for any publically available version or
* derivative of this code cannot be changed. i.e. this code cannot simply be
* copied and put under another distribution licence
Expand All @@ -5452,7 +5473,7 @@ Version v1.15.2

The MIT License (MIT)

Copyright (c) 2016 Gabi Melman.
Copyright (c) 2016 Gabi Melman.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -6347,10 +6368,6 @@ Version 1.1.0







G8Tesseract
Copyright @ 2014 Daniele Galiotto. https://github.com/gali8/Tesseract-OCR-iOS
This library is distributed under the terms of a MIT License (https://github.com/gali8/Tesseract-OCR-iOS/blob/master/LICENSE.md).
Expand Down
20 changes: 10 additions & 10 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1779,7 +1779,7 @@ PODS:
- React-utils (= 0.79.0)
- RNFS (2.20.0):
- React-Core
- RNScanbotSDK (7.1.0):
- RNScanbotSDK (7.1.1-rc.1):
- DoubleConversion
- glog
- hermes-engine
Expand All @@ -1802,7 +1802,7 @@ PODS:
- ReactCodegen
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- ScanbotSDKNativeWrapper (= 7.1.2.1)
- ScanbotSDKNativeWrapper (= 7.1.3.2)
- Yoga
- RNScreens (4.14.1):
- DoubleConversion
Expand Down Expand Up @@ -1879,11 +1879,11 @@ PODS:
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- Yoga
- ScanbotSDK (7.1.2):
- ScanbotSDK/NONE (= 7.1.2)
- ScanbotSDK/NONE (7.1.2)
- ScanbotSDKNativeWrapper (7.1.2.1):
- ScanbotSDK (= 7.1.2)
- ScanbotSDK (7.1.3):
- ScanbotSDK/NONE (= 7.1.3)
- ScanbotSDK/NONE (7.1.3)
- ScanbotSDKNativeWrapper (7.1.3.2):
- ScanbotSDK (= 7.1.3)
- SocketRocket (0.7.1)
- Yoga (0.0.0)

Expand Down Expand Up @@ -2205,11 +2205,11 @@ SPEC CHECKSUMS:
ReactCodegen: daf57f5314369a4ad607ee77516d45aad03b10d7
ReactCommon: c07346679f14c0b62ad02b20e18e984da3b575ce
RNFS: 4ac0f0ea233904cb798630b3c077808c06931688
RNScanbotSDK: f144a5858856745ab69964eb30887518f0946163
RNScanbotSDK: 23758c5690000ac3b2f4f19a7c8c06154853e854
RNScreens: c2fd33e6c93b4aea8d88b6dcf6bbd8edb3743b41
RNShare: 54d9a98353fe21fdbcf0ade081ce823ea1154a4e
ScanbotSDK: 6af5af26c13b554788ce8f19fff798403701cff0
ScanbotSDKNativeWrapper: 1f7b2a44f0b057a9f1dd2d18ff541caff8622d39
ScanbotSDK: bcd091f633b3efa780c442acdde6b699590aac55
ScanbotSDKNativeWrapper: cc98ac399d9e8a714425a6d64819e0ee437be7aa
SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748
Yoga: 7fb3f48a328f20ea5d5eecd862e91798bd76b255

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"react-native-fs": "2.20.0",
"react-native-image-picker": "^8.2.0",
"react-native-safe-area-context": "^5.4.0",
"react-native-scanbot-sdk": "7.1.0",
"react-native-scanbot-sdk": "7.1.1-rc.1",
"react-native-screens": "^4.10.0",
"react-native-share": "^12.0.3"
},
Expand Down
22 changes: 22 additions & 0 deletions src/codeSnippets/document/RTUUI/scanningFlow/singlePageScanning.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import {
DocumentScanningFlow,
startDocumentScanner,
} from 'react-native-scanbot-sdk/ui_v2';

async function useSinglePageScanning() {
try {
/** Create the configuration object for single page scanning */
const configuration = new DocumentScanningFlow();
configuration.outputSettings.pagesScanLimit = 1;

/** See further customization configs... */

const documentResult = await startDocumentScanner(configuration);

/** Handle the document if the status is 'OK' */
if (documentResult.status === 'OK') {
}
} catch (e: any) {
console.error(e.message);
}
}
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7977,15 +7977,15 @@ __metadata:
languageName: node
linkType: hard

"react-native-scanbot-sdk@npm:7.1.0":
version: 7.1.0
resolution: "react-native-scanbot-sdk@npm:7.1.0"
"react-native-scanbot-sdk@npm:7.1.1-rc.1":
version: 7.1.1-rc.1
resolution: "react-native-scanbot-sdk@npm:7.1.1-rc.1"
dependencies:
"@expo/config-plugins": 9.0.14
peerDependencies:
react: "*"
react-native: ">=0.73"
checksum: 0de86ea74103e74a569ee43ba3434e32f4e9b7dd81d59c70e9997ddfeb5c0f8f976a6729aeccd09882015108b1295b8c1914c6e30d1d0d491473d52dc3bafb70
checksum: da6b447ab8fbd863507bb763bb772e91647d7a601c372ed17d858c5e04c4e4c8f19d5cd65bd3d665f5db3ff4396b3fccd89a81386631c07862e2a09e727ffb13
languageName: node
linkType: hard

Expand Down Expand Up @@ -8422,7 +8422,7 @@ __metadata:
react-native-fs: 2.20.0
react-native-image-picker: ^8.2.0
react-native-safe-area-context: ^5.4.0
react-native-scanbot-sdk: 7.1.0
react-native-scanbot-sdk: 7.1.1-rc.1
react-native-screens: ^4.10.0
react-native-share: ^12.0.3
react-test-renderer: 19.0.0
Expand Down