Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
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.
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 599 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.