Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
cordova-plugin-scanbot-sdk
Advanced tools
The Scanbot SDK brings scanning and document creation capabilities to your mobile apps.
This Cordova plugin provides implementations of the Scanbot Document Scanner SDK for Android and iOS.
š Ionic example app
For the full API reference of the Scanbot SDK Cordova Plugin please check out the documentation.
You'd ideally work in scanbot-sdk-example-ionic
with a local copy of ScanbotSDK:
"cordova-plugin-scanbot-sdk": "file:../scanbot-sdk-cordova-plugin",
That allows you to work directly with the typescript file (even modifying it from the example repository). Though, do pay attention where you're situated:
plugins
directory, then the SDK repository won't be updatednode_modules
directory, it will.Cf. where you're importing the SDK from:
import {ScanbotHTMLCamera} from '../../../plugins/cordova-plugin-scanbot-sdk/camera';
Your working file, camera.ts
, is not supposed to be in the npm package.
I mean, you can put it there, but then the reference of your end-product
needs to look exactly like the one defined above, as a local reference.
The Angular typescript compiler will flip the table if it sees third-party typescript.
So, you either reference the typescript as your own, or work with type definitions and transpiled javascript.
God knows why it was designed like this, it makes absolutely no sense from an architectural perspective. Perhaps something-something different versions of typescript not being backwards compatible.
npm install -g typescript-compiler
Either way, transpiling to javascript is simple enough. Before releasing be sure to:
tsc --declaration camera.ts
This should update both camera.js
and camera.d.ts
, which are actually part of your final package
FAQs
Cordova Plugin for the Scanbot Document and Barcode Scanner SDK
The npm package cordova-plugin-scanbot-sdk receives a total of 0 weekly downloads. As such, cordova-plugin-scanbot-sdk popularity was classified as not popular.
We found that cordova-plugin-scanbot-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Ā It has 0 open source maintainers collaborating on the project.
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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.