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

Created on OutSystems 11

Version 8.0.0

Stable
Current
See documentation
Uploaded on 14 Apr (10 days ago) by OutSystems
Compatible with:
Version 11
Database:
All
Release notes:

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:

Camera plugin (version 8 and onwards)

Copyright (c) 2026 OutSystems, MIT License


Cropper.js

The MIT License (MIT)

Copyright 2015-present Chen Fengyuan

Application Objects:
Camera Plugin does not affect the count of AOs.

Version 7.9.1

Stable
Uploaded on 6 Mar by OutSystems
Compatible with:
Version 11
Database:
All
Release notes:

Fixes

  • iOS
    • Fixes incompatibility with MABS 11.2.
  • Android and iOS
    • Adds IsPersistent input parameter to RecordVideo block.
License:

Camera plugin for Apache Cordova

Apache License 2.0

Copyright 2012 The Apache Software Foundation


Cropper.js

The MIT License (MIT)

Copyright 2015-present Chen Fengyuan

Application Objects:
Camera Plugin does not affect the count of AOs.
Created on OutSystems 10

Version 5.2.0

Stable
Uploaded on 16 April 2020 by OutSystems
Compatible with:
Version 11
Version 10
Stack:
All
Database:
All
Release notes:
  • Added a new client action that allows the selection of a photo from the gallery

Version 5.1.1

Stable
Uploaded on 25 October 2019 by OutSystems
Compatible with:
Version 11
Version 10
Stack:
.NET
Database:
All
Release notes:
  • Universal version compatible with MABS 3, 4 and 5