
Security News
Static vs. Runtime Reachability: Insights from Latio’s On the Record Podcast
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
cordova-plugin-scanbot-image-picker
Advanced tools
Simple Image Picker with multiple selection capability
Simple plugin that implements a very straight-forward native iOS & Android Image Picker, which features:
Multiple Images Selection
Customizable Parameters
Typescript definitions
Promisified API interface
cordova plugin add cordova-plugin-scanbot-image-picker
import ScanbotImagePicker from 'cordova-plugin-scanbot-image-picker'
Opens the native single image picker, and returns the selected image file URI.
Example
const result = await ScanbotImagePicker.pickImage();
if (result.status == "OK") {
let image = result.imageFileUri;
}
Optional Parameters
export interface ScanbotImagePickerSingleConfiguration {
/**
* The quality of the images returned by the Image Picker, from 0 to 100 (default = 100)
*/
imageQuality?: number;
}
Result
export interface ScanbotImagePickerSingleResult {
status: "OK" | "CANCELED";
imageFileUri?: string;
}
Opens the multiple image picker, and returns the selected image files URIs.
Example
const result = await ScanbotImagePicker.pickImages();
if (result.status == "OK") {
let images = result.imageFilesUris;
}
Optional Parameters
export interface ScanbotImagePickerMultipleConfiguration {
/**
* Maximum selectable images. Default is 0 (unlimited).
*/
maxImages?: number;
/**
* The quality of the images returned by the Image Picker, from 0 to 100 (default = 100).
*/
imageQuality?: number;
}
Result
export interface ScanbotImagePickerMultipleResult {
status: "OK" | "CANCELED";
imageFilesUris: string[];
}
Contributions in the form of issues, pull requests and suggestions are very welcome.
This package is still in beta and should be used with that in mind.
FAQs
Simple Image Picker with multiple selection capability
The npm package cordova-plugin-scanbot-image-picker receives a total of 3 weekly downloads. As such, cordova-plugin-scanbot-image-picker popularity was classified as not popular.
We found that cordova-plugin-scanbot-image-picker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.