chore(deps): Add Capacitor camera and filesystem plugins

- Add @capacitor/camera@6.0.0 for cross-platform photo capture
- Add @capacitor/filesystem@6.0.0 for file system operations
- Maintain compatibility with existing Capacitor core v6.2.1

These plugins enable native camera access and file system operations
for the Capacitor platform implementation.
This commit is contained in:
Matthew Raymer
2025-04-06 13:28:50 +00:00
parent 2c84bb50b3
commit 073ce24f43
7 changed files with 64 additions and 28 deletions

View File

@@ -1,4 +1,5 @@
import { PlatformService } from "../PlatformService";
import { ImageResult, PlatformService } from "../PlatformService";
import { logger } from "../../utils/logger";
export class PyWebViewPlatformService implements PlatformService {
async readFile(path: string): Promise<string> {
@@ -17,11 +18,13 @@ export class PyWebViewPlatformService implements PlatformService {
throw new Error("Not implemented");
}
async takePicture(): Promise<string> {
async takePicture(): Promise<ImageResult> {
logger.error("takePicture not implemented in PyWebView platform");
throw new Error("Not implemented");
}
async pickImage(): Promise<string> {
async pickImage(): Promise<ImageResult> {
logger.error("pickImage not implemented in PyWebView platform");
throw new Error("Not implemented");
}
@@ -42,6 +45,7 @@ export class PyWebViewPlatformService implements PlatformService {
}
async handleDeepLink(url: string): Promise<void> {
logger.error("handleDeepLink not implemented in PyWebView platform");
throw new Error("Not implemented");
}
}