Almost every mobile application needs the option to capture, save and share images. The NativeScript camera plugin was designed for the first two parts of the job (taking a picture and optionally saving to device storage).


Navigate to project folder and run NativeScript-CLI command

tns plugin add nativescript-camera

Plugin could be also added as a standard npm dependency running command

npm install nativescript-camera --save 

Note: the --save flag will add the plugin as dependency in your package.json file


For detailed information about plugin's usage, check the plugin's README in GitHub.

Is this article helpful? Yes / No
Thank you for your feedback!

Tell us how we can improve this article

NativeScript is licensed under the Apache 2.0 license .
© Progress Software Corporation. All Rights Reserved.