
Security News
Scaling Socket from Zero to 10,000+ Organizations
Socket CEO Feross Aboukhadijeh shares lessons from scaling a developer security startup to 10,000+ organizations in this founder interview.
@raincatcher/step-gallery
Advanced tools
This step exemplifies the utilization of the @raincatcher/camera and @raincatcher/filestorage-client modules in a custom step that can take multiple pictures as part of its execution flow.
In order to supply options for the underlying cordova camera plugin, supply a function that edits the default options and returns the updated version of the intended configuration:
var galleryStep = require('@raincatcher/step-gallery');
// add thestep as a dependency of the mobile app
angular.module('wfm-mobile', [
//...
galleryStep.ngModule($fh, function buildOptions(camera) {
return {
'quality': 20,
// camera is the cordova plugin Camera object
'destinationType': camera.DestinationType.FILE_URI,
'sourceType': camera.PictureSourceType.CAMERA,
'encodingType': camera.EncodingType.JPEG,
'mediaType': camera.MediaType.PICTURE,
'allowEdit': false,
'correctOrientation': true
};
}, "user");
]);
The returned options are merged with the default ones in @raincatcher/camera, and the above values display the defaults.
FAQs
Gallery Step for RainCatcher
We found that @raincatcher/step-gallery demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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
Socket CEO Feross Aboukhadijeh shares lessons from scaling a developer security startup to 10,000+ organizations in this founder interview.

Research
Socket Threat Research maps a rare inside look at OtterCookie’s npm-Vercel-GitHub chain, adding 197 malicious packages and evidence of North Korean operators.

Research
Socket researchers identified a malicious Chrome extension that manipulates Raydium swaps to inject an undisclosed SOL transfer, quietly routing fees to an attacker wallet.