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
40
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 4.0.0-0 to 4.0.0

android/.gradle/4.10.1/fileChanges/last-build.bin

8

package.json
{
"name": "@capacitor-community/camera-preview",
"version": "4.0.0-0",
"version": "4.0.0",
"description": "Camera preview",

@@ -33,8 +33,8 @@ "main": "dist/esm/index.js",

"husky": "^7.0.4",
"prettier": "^2.3.0",
"prettier-plugin-java": "^1.0.2",
"prettier": "^2.5.1",
"prettier-plugin-java": "^1.6.1",
"pretty-quick": "^3.1.3",
"rimraf": "^3.0.2",
"swiftlint": "^1.0.1",
"typescript": "^4.1.5"
"typescript": "^4.3.2"
},

@@ -41,0 +41,0 @@ "husky": {

@@ -11,3 +11,3 @@ <p align="center"><br><img src="https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png" width="128" height="128" /></p>

<br>
Version 4 of this plugin requires Capacitor 4. If you are using Capacitor 3, use [version 3](https://github.com/capacitor-community/camera-preview/releases/tag/v3.1.2)
Version 2+ of this plugin is compatible with Ionic 5+ and Capacitor 3. If your project uses Capacitor 2, please make sure you install [version 1](https://github.com/capacitor-community/camera-preview/releases/tag/v1.2.1) of this plugin.

@@ -63,3 +63,12 @@

then in html add
<div id="cameraPreview"></div>
and
ngOnInit() { const { CameraPreview } = Plugins; CameraPreview.start({ parent: "cameraPreview"}); }
it will work
# Methods

@@ -66,0 +75,0 @@

Sorry, the diff of this file is not supported yet

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