
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
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 11 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
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.