@capgo/camera-preview 8.12.1 → 8.12.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -2,15 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
Show a live camera preview inside your Capacitor app, behind or around your own UI, and capture photos, frames and video. Build custom camera screens, scanners and AR-style overlays.
|
|
4
4
|
|
|
5
|
-
<a href="https://capgo.app/?ref=plugin_camera_preview"><img src="https://capgo.app/readme-banner.svg?repo=Cap-go/capacitor-camera-preview" alt="Capgo -
|
|
5
|
+
<a href="https://capgo.app/?ref=plugin_camera_preview"><img src="https://capgo.app/readme-banner.svg?repo=Cap-go/capacitor-camera-preview" alt="Capgo - Build Capacitor apps with AI, ship updates instantly" /></a>
|
|
6
6
|
|
|
7
7
|
<div align="center">
|
|
8
8
|
<p><b>Capgo</b>: push fixes to your Capacitor users in minutes, build signed iOS and Android apps without a Mac, and roll back in one click.</p>
|
|
9
9
|
<h2><a href="https://capgo.app/register/?ref=plugin_camera_preview">➡️ Get started for free</a></h2>
|
|
10
10
|
<p>14-day unlimited free trial. No credit card required</p>
|
|
11
|
-
<p><a href="https://capgo.app/consulting/?ref=plugin_camera_preview">Missing a feature? We'll build the plugin for you 💪</a></p>
|
|
12
11
|
</div>
|
|
13
12
|
|
|
13
|
+
> 🤖 **Building with an AI coding agent?** Install [Capgo skills](https://capgo.app/skills/?ref=plugin_camera_preview) so Claude Code, Codex, Cursor, Copilot, or Gemini CLI know how to install and use `@capgo/camera-preview` in your Capacitor app: `npx skills add Cap-go/capgo-skills`. Then ask your agent: *"Add @capgo/camera-preview to my Capacitor app and wire it up."* [Agent setup guides](https://capgo.app/agents/?ref=plugin_camera_preview) · [Hosted MCP](https://capgo.app/docs/ai/mcp/?ref=plugin_camera_preview)
|
|
14
|
+
|
|
14
15
|
<p align="center">
|
|
15
16
|
<img src="https://raw.githubusercontent.com/Cap-go/capacitor-camera-preview/main/assets/github-social-preview.png" alt="@capgo/camera-preview for Capacitor apps" width="300" />
|
|
16
17
|
</p>
|
package/android/build.gradle
CHANGED
|
@@ -71,7 +71,7 @@ dependencies {
|
|
|
71
71
|
implementation 'com.google.android.gms:play-services-mlkit-barcode-scanning:18.3.1'
|
|
72
72
|
|
|
73
73
|
testImplementation "junit:junit:$junitVersion"
|
|
74
|
-
testImplementation 'org.robolectric:robolectric:4.
|
|
74
|
+
testImplementation 'org.robolectric:robolectric:4.17'
|
|
75
75
|
testImplementation 'androidx.test:core:1.7.0'
|
|
76
76
|
androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
|
|
77
77
|
androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion"
|
|
@@ -35,7 +35,7 @@ extension UIWindow {
|
|
|
35
35
|
*/
|
|
36
36
|
@objc(CameraPreview)
|
|
37
37
|
public class CameraPreview: CAPPlugin, CAPBridgedPlugin, CLLocationManagerDelegate {
|
|
38
|
-
private let pluginVersion: String = "8.12.
|
|
38
|
+
private let pluginVersion: String = "8.12.3"
|
|
39
39
|
public let identifier = "CameraPreviewPlugin"
|
|
40
40
|
public let jsName = "CameraPreview"
|
|
41
41
|
public let pluginMethods: [CAPPluginMethod] = [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capgo/camera-preview",
|
|
3
|
-
"version": "8.12.
|
|
3
|
+
"version": "8.12.3",
|
|
4
4
|
"description": "Camera preview",
|
|
5
5
|
"license": "MPL-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"rimraf": "^6.1.0",
|
|
82
82
|
"rollup": "^4.53.2",
|
|
83
83
|
"swiftlint": "^2.0.0",
|
|
84
|
-
"typescript": "^
|
|
84
|
+
"typescript": "^6.0.3",
|
|
85
85
|
"prettier-pretty-check": "^0.2.0"
|
|
86
86
|
},
|
|
87
87
|
"peerDependencies": {
|