<?xml version="1.0" encoding="UTF-8"?>
The MIT License (MIT)
Copyright (C) 2026 Huawei Device Co., Ltd and iSoftStone Information Technology(Group)Co.,Ltd.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
-->
<plugin id="@capacitor/camera" version="8.0.0">
<name>@capacitor/camera</name>
<description>Capacitor camera plugin</description>
<license>MIT</license>
<keywords>capacitor,camera,plugin</keywords>
<repo>https://gitcode.com/org/CPF-Ionic/capacitor-camera.git</repo>
<issue>https://gitcode.com/org/CPF-Ionic/capacitor-camera/issues</issue>
<engines>
<engine name="@capacitor-ohos/ohos" version=">=8.0.0" />
</engines>
<platform name="ohos">
<config-json target="src/main/resources/rawfile/capacitor.plugins.json" parent="/*" modules-targets-name="default">
<feature name="Camera">
<param name="pkg" value="@capacitor/camera" />
<param name="classpath" value="Camera" />
</feature>
</config-json>
<CMakeLists target="src/main/cpp/CMakeLists.txt" modules-name="capacitor">
<param target="add_subdirectory" value="Camera"/>
</CMakeLists>
<source-file type="h" src="src/main/cpp/Camera/Camera.h" target-dir="src/main/cpp/Camera" modules-name="capacitor"/>
<source-file type="cpp" src="src/main/cpp/Camera/Camera.cpp" target-dir="src/main/cpp/Camera" modules-name="capacitor"/>
<source-file type="txt" src="src/main/cpp/Camera/CMakeLists.txt" target-dir="src/main/cpp/Camera" modules-name="capacitor"/>
<source-file type="ets" src="src/main/ets/components/ImageCompress/ImageCompressEx.ets" target-dir="src/main/ets/components/ImageCompress" modules-name="capacitor" runtimeOnly="true"/>
<source-file type="ets" src="src/main/ets/components/ImageCompress/ErrorCode.ets" target-dir="src/main/ets/components/ImageCompress" modules-name="capacitor" runtimeOnly="true"/>
<source-file type="ets" src="src/main/ets/components/ImageCompress/ExifInfo.ets" target-dir="src/main/ets/components/ImageCompress" modules-name="capacitor" runtimeOnly="true"/>
<source-file type="ets" src="src/main/ets/components/ImageCompress/CameraAction.ets" target-dir="src/main/ets/components/ImageCompress" modules-name="capacitor" runtimeOnly="true"/>
<source-file type="ets" src="src/main/ets/components/ImageCompress/ImageInfo.ets" target-dir="src/main/ets/components/ImageCompress" modules-name="capacitor" runtimeOnly="true"/>
<source-file type="ets" src="src/main/ets/components/MediaAction/CameraDefine.ets" target-dir="src/main/ets/components/MediaAction" modules-name="capacitor" runtimeOnly="true"/>
<source-file type="ets" src="src/main/ets/components/MediaAction/CameraSelectDialog.ets" target-dir="src/main/ets/components/MediaAction" modules-name="capacitor" runtimeOnly="true"/>
<source-file type="ets" src="src/main/ets/components/MediaAction/MediaAction.ets" target-dir="src/main/ets/components/MediaAction" modules-name="capacitor" runtimeOnly="true"/>
<source-file type="ets" src="src/main/ets/components/MediaAction/CheckCameraPermission.ets" target-dir="src/main/ets/components/MediaAction" modules-name="capacitor" runtimeOnly="true"/>
</platform>
</plugin>