diff --git a/.gitignore b/.gitignore
index 5b3d3b4380bc07f0444d7d0aa627bc866fa16fff..97046eb3df98aaadf5990b1b40f0c7c299f54eb0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -34,4 +34,6 @@ node_modules/
npm-debug.log
package-lock.json
yarn.lock
-lib
\ No newline at end of file
+lib
+
+scripts/
diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
index 0000000000000000000000000000000000000000..b482e983c98a2a3a807506651889c3a409b4ca4d
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,21 @@
+## 0.4.12 (2024-12-31)
+
+
+### Bug Fixes
+
+* 解决RNOH框架升级,descriptor取值异常导致crash。 ([#16](https://gitee.com/openharmony-sig/rntpc_react-native-signature-capture/issues/16)) ([6b8c00d](https://gitee.com/openharmony-sig/rntpc_react-native-signature-capture/commit/6b8c00d118aa1d7ea8c5ae670dbcbd55af2ade2c))
+* 添加oat、readme 等合规文件 ([#19](https://gitee.com/openharmony-sig/rntpc_react-native-signature-capture/issues/19)) ([97c6b67](https://gitee.com/openharmony-sig/rntpc_react-native-signature-capture/commit/97c6b67aa109d369619d6a9691ca44d301d2c3c6))
+* **maxSize:** 解决maxSize属性设置与生成图片尺寸不符问题,计算错误。 ([#11](https://gitee.com/openharmony-sig/rntpc_react-native-signature-capture/issues/11)) ([3db2b43](https://gitee.com/openharmony-sig/rntpc_react-native-signature-capture/commit/3db2b438078300524fe3e73eeb640ff9410f4044))
+* **package.json:** 配置项路径分隔符修改 ([#14](https://gitee.com/openharmony-sig/rntpc_react-native-signature-capture/issues/14)) ([0a1e8a4](https://gitee.com/openharmony-sig/rntpc_react-native-signature-capture/commit/0a1e8a45e2869718d0c8b368d873531edb13451a))
+* Partially occluded when there are two components ([#4](https://gitee.com/openharmony-sig/rntpc_react-native-signature-capture/issues/4)) ([5fd2e76](https://gitee.com/openharmony-sig/rntpc_react-native-signature-capture/commit/5fd2e766667bf82f85994feabe6d53c0b5fc3a7e))
+* The issue of modifying static scanning ([fb6b06c](https://gitee.com/openharmony-sig/rntpc_react-native-signature-capture/commit/fb6b06ceb6a7e8aa9b8c764cbf15c2b43a1c7a52))
+* use react class component ([#8](https://gitee.com/openharmony-sig/rntpc_react-native-signature-capture/issues/8)) ([50f8582](https://gitee.com/openharmony-sig/rntpc_react-native-signature-capture/commit/50f85820ff51595cfc8475fc8362ba5b18c43897))
+
+
+### Features
+
+* add HarmonyOS support by codegen-lib ([a1cb579](https://gitee.com/openharmony-sig/rntpc_react-native-signature-capture/commit/a1cb579d4b7f6e1b5fc2da2f06f4e8ed0a01cf10))
+* signature capture support HarmonyOs ([#1](https://gitee.com/openharmony-sig/rntpc_react-native-signature-capture/issues/1)) ([002edde](https://gitee.com/openharmony-sig/rntpc_react-native-signature-capture/commit/002edde52ff52f8826e07816a97930dcaf406329))
+
+
+
diff --git a/OAT.xml b/OAT.xml
index 959183bd14fadeca5e1e1aa5eafc73b4f9500dab..793201e6f09782b5b1585a581899559b3ec60604 100644
--- a/OAT.xml
+++ b/OAT.xml
@@ -29,6 +29,7 @@
+
@@ -55,6 +56,7 @@
+
diff --git a/harmony/rnoh_signature_capture.har b/harmony/rnoh_signature_capture.har
new file mode 100644
index 0000000000000000000000000000000000000000..cf386fad2fc651ee01a3acc6d828162e9d17ee53
Binary files /dev/null and b/harmony/rnoh_signature_capture.har differ
diff --git a/harmony/rnoh_signature_capture/oh-package.json5 b/harmony/rnoh_signature_capture/oh-package.json5
index 9c2b60b04d84172529d27dcd6970ef0bba06831e..7a5708265f711c15459987f7c7ae745ae6aa1ed6 100644
--- a/harmony/rnoh_signature_capture/oh-package.json5
+++ b/harmony/rnoh_signature_capture/oh-package.json5
@@ -1,11 +1,11 @@
{
- "name": "@react-native-ohos/react-native-signature-capture",
- "version": "0.4.11",
- "description": "Lets users sign their signatures",
- "main": "Index.ets",
- "author": "",
- "license": "MIT",
- "dependencies": {
- "@rnoh/react-native-openharmony": "^0.72.38"
- }
-}
+ name: '@react-native-ohos/react-native-signature-capture',
+ version: '0.4.12',
+ description: 'Lets users sign their signatures',
+ main: 'Index.ets',
+ author: '',
+ license: 'MIT',
+ dependencies: {
+ '@rnoh/react-native-openharmony': '^0.72.38',
+ },
+}
\ No newline at end of file
diff --git a/package.json b/package.json
index d6ef0ef889a1b9811551a811109e7d233aca6290..987d93e86eecab5f69fac612b252c6a9fff6920b 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@react-native-ohos/react-native-signature-capture",
- "version": "0.4.11",
+ "version": "0.4.12",
"description": "Lets users sign their signatures",
"main": "src/index.ts",
"react-native": "src/index.ts",
@@ -49,7 +49,9 @@
"typescript": "4.8.2",
"react-native-harmony-cli": "npm:@react-native-oh/react-native-harmony-cli@^0.0.27"
},
- "publishConfig": { "access": "public" },
+ "publishConfig": {
+ "access": "public"
+ },
"files": [
"src",
"harmony",