camera-plugin
Mobile icon

Camera Plugin

Supported
Stable version 8.0.0 (Compatible with OutSystems 11)
Other versions available for 10
Uploaded
 on 14 Apr (10 days ago)
 by 
OutSystems
4.3
 (53 ratings)
camera-plugin

Camera Plugin

Details
A plugin that enables an application to access the camera features of the user’s device, including recording videos, taking pictures and loading media from the gallery.
Read more
Sample demo App
Use the dropdown on the Download button at the top of the page to test our demo app, the Camera Plugin Demo App. You’ll be able to see an example of how the current version of the Camera Plugin is implemented, and access a menu where you can change and try out different settings.
Release notes (8.0.0)

IMPORTANT: Camera Plugin version 8.0.0 contains breaking changes. Please review the full release notes before updating.

BREAKING CHANGES

  • The following client actions have been removed: DEPRECATED_ChooseGalleryPicture and DEPRECATED_TakePicture. These client actions had been deprecated for several years, and while you can continue using them in versions 7.X, if you update to version 8.0.0 or higher, migration is required. For DEPRECATED_ChooseGalleryPicture, you can use ChooseFromGallery, and for DEPRECATED_TakePicture, use TakePhoto (formerly TakePicture in 7.x versions). Please refer to the migration guide for more information on migrating to these new methods.

  • DEPRECATED_ChooseImage and DEPRECATED_TakePicture UI blocks have been removed as well. Please use ChooseFromGallery and TakePhoto blocks, respectively.

  • (RPM-4450) Add a mandatory OnError event for TakePhoto block. This replaces the error messages that were being displayed by the plugin, and allows adding custom error handling. If you are using TakePhoto block, you will need to implement OnError.

  • The AllowMultiplePictures inside TakePhoto has been removed, as it had no effect. If you were passing a value for AllowMultiplePictures to the block, please remove it. If you want to use AllowMultiplePictures, use TakePhoto client action, where this behavior is supported.

  • The errors returned by the plugin have been restructured. New errors have been added, and the codes for existing errors have changed. Please refer to the available documentation for more information on all error changes.

Features

  • Support ChooseFromGallery client action and block in OutSystems PWAs. Please note however that PWA functionality for ChooseFromGallery is limited; particularly, you may only select one image, and it does not support videos.

  • New Limit input parameter in ChooseFromGallery. Use it to set the maximum number of selectable items.

  • New Saved parameter to MediaResult structure. When passing SaveToGallery True in input, Saved returns whether or not the media was successfully saved to gallery.

  • Return a new Warning structure in CheckCameraPlugin. A warning can be returned when the plugin is available, but action may be required.

Fixes

  • Allow using AllowEdit in ChooseFromGallery block.

  • Return error for these client actions when running in PWA: PlayVideo and RecordVideo. Previously, those client actions returned Success=False but no error information.

  • EditPhoto now returns an error instead of hanging when you pass an empty input image.

  • Android

    • Correct EditURIPhoto when using a URI provided by the File Plugin.

  • iOS

    • Fix intermittent error when selecting multiple videos with ChooseFromGallery.

    • Return jpg in MediaResult.format instead of jpeg, aligning with Android.

Other Minor Changes

  • Several client action names, parameters, and descriptions that had "picture" were replaced with "photo". E.g. EditURIPicture is now EditURIPhoto. This was done to better distinguish from the deprecated client actions, removed in this major version, and has no impact on your applications.

  • Improve descriptions on several action input and output parameters.

  • Updated License.

  • Revamp and open-source native library implementation.

  • Android

    • Improve padding and size for buttons in edit screen. They should now be easier to tap.

    • Improve retrieval of video duration.

License (8.0.0)

Camera plugin (version 8 and onwards)

Copyright (c) 2026 OutSystems, MIT License


Cropper.js

The MIT License (MIT)

Copyright 2015-present Chen Fengyuan

Reviews (7)
by 
2025-05-26
in version 7.7.3
Very useful component, thanks!
by 
2025-05-17
in version 7.7.2
Really amazing, work like charm!!
by 
2023-04-27
in version 7.2.0
Dear team I see you guys have added new feature for video capture but I have updated and also refreshed all dependencies. But still I didn't found any Adds video functionality: record and play video.
Please reply its OS bug or version issue
Team
OutSystems
Other assets in this category