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

@@ -92,10 +92,10 @@
<script lang="ts">
/**
* PhotoDialog.vue - Cross-platform photo capture and selection component
*
*
* This component provides a unified interface for taking photos and selecting images
* across different platforms using the PlatformService.
*
*
* @author Matthew Raymer
* @file PhotoDialog.vue
*/
@@ -186,12 +186,15 @@ export default class PhotoDialog extends Vue {
this.fileName = result.fileName;
} catch (error) {
logger.error("Error taking picture:", error);
this.$notify({
group: "alert",
type: "danger",
title: "Error",
text: "Failed to take picture. Please try again.",
}, 5000);
this.$notify(
{
group: "alert",
type: "danger",
title: "Error",
text: "Failed to take picture. Please try again.",
},
5000,
);
}
}
@@ -202,12 +205,15 @@ export default class PhotoDialog extends Vue {
this.fileName = result.fileName;
} catch (error) {
logger.error("Error picking image:", error);
this.$notify({
group: "alert",
type: "danger",
title: "Error",
text: "Failed to pick image. Please try again.",
}, 5000);
this.$notify(
{
group: "alert",
type: "danger",
title: "Error",
text: "Failed to pick image. Please try again.",
},
5000,
);
}
}