Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@capacitor-community/camera-preview

Package Overview
Dependencies
Maintainers
12
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@capacitor-community/camera-preview - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

CapacitorCommunityCameraPreview.podspec

8

dist/esm/definitions.d.ts

@@ -12,6 +12,10 @@ declare module "@capacitor/core" {

className?: string;
/** The preview width in pixels, default window.screen.width */
/** The preview width in pixels, default window.screen.width (applicable to the android and ios platforms only) */
width?: number;
/** The preview height in pixels, default window.screen.height */
/** The preview height in pixels, default window.screen.height (applicable to the android and ios platforms only) */
height?: number;
/** The preview bottom padding in pixes. Useful to keep the appropriate preview sizes when orientation changes (applicable to the android and ios platforms only) */
paddingBottom?: number;
/** Rotate preview when orientation changes (applicable to the ios platforms only; default value is true) */
rotateWhenOrientationChanged?: boolean;
/** Choose the camera to use 'front' or 'rear', default 'front' */

@@ -18,0 +22,0 @@ position?: CameraPosition | string;

{
"name": "@capacitor-community/camera-preview",
"version": "1.0.1",
"version": "1.0.2",
"description": "Camera preview",

@@ -27,3 +27,3 @@ "main": "dist/esm/index.js",

"android/",
"CapacitorCameraPreview.podspec"
"CapacitorCommunityCameraPreview.podspec"
],

@@ -30,0 +30,0 @@ "keywords": [

@@ -94,4 +94,6 @@ # Capacitor Camera Preview

| position | front \| rear | Show front or rear camera when start the preview. Defaults to front |
| width | number | (optional) The preview width in pixels, default window.screen.width |
| height | number | (optional) The preview height in pixels, default window.screen.height |
| width | number | (optional) The preview width in pixels, default window.screen.width (applicable to the android and ios platforms only) |
| height | number | (optional) The preview height in pixels, default window.screen.height (applicable to the android and ios platforms only) |
| paddingBottom | number | (optional) The preview bottom padding in pixes. Useful to keep the appropriate preview sizes when orientation changes (applicable to the android and ios platforms only) |
| rotateWhenOrientationChanged | boolean | (optional) Rotate preview when orientation changes (applicable to the ios platforms only; default value is true) |

@@ -98,0 +100,0 @@ <!-- <strong>Options:</strong>

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc