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

capacitor-camera-preview

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

capacitor-camera-preview - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

package.json
{
"name": "capacitor-camera-preview",
"version": "0.0.1",
"version": "0.0.2",
"description": "Camera preview",

@@ -5,0 +5,0 @@ "main": "dist/esm/index.js",

@@ -45,3 +45,3 @@ # Capacitor Camera Preview

```
yarn install capacitor-camera-preview
yarn add capacitor-camera-preview

@@ -52,2 +52,14 @@ or

```
#### Android Quirks
On Android remember to add the plugin to `MainActivity`
```java
this.init(savedInstanceState, new ArrayList<Class<? extends Plugin>>() {{
// Additional plugins you've installed go here
// Ex: add(TotallyAwesomePlugin.class);
add(CameraPreview.class);
}});
```
#### Web Quirks
Add `import 'capacitor-camera-preview'` to you entry script in ionic on `app.module.ts`, so capacitor can register the web platform from the plugin
<!--

@@ -54,0 +66,0 @@ #### iOS Quirks

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