
Security News
CISA Rebuffs Funding Concerns as CVE Foundation Draws Criticism
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.
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 15 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
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.
Product
We’re excited to announce a powerful new capability in Socket: historical data and enhanced analytics.
Product
Module Reachability filters out unreachable CVEs so you can focus on vulnerabilities that actually matter to your application.