capacitor-camera-preview
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
213288
310