@react-native-ohos/react-native-qr-decode-image-camera 1.1.4-rc.1 → 1.1.4-rc.2
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/.github/workflows/codeql-analysis.yml +68 -0
- package/COMMITTERS.md +6 -6
- package/LICENSE +21 -21
- package/OAT.xml +88 -88
- package/QrCode.podspec +14 -14
- package/README.OpenSource +10 -10
- package/README.md +13 -13
- package/SECURITY.md +21 -21
- package/harmony/qr_decode_image_camera/BuildProfile.ets +16 -16
- package/harmony/qr_decode_image_camera/Index.ets +7 -7
- package/harmony/qr_decode_image_camera/build-profile.json5 +27 -27
- package/harmony/qr_decode_image_camera/obfuscation-rules.txt +17 -17
- package/harmony/qr_decode_image_camera/oh-package-lock.json5 +17 -17
- package/harmony/qr_decode_image_camera/oh-package.json5 +12 -12
- package/harmony/qr_decode_image_camera/src/main/cpp/generated/RNOH/generated/BaseReactNativeQrDecodeImageCameraPackage.h +72 -72
- package/harmony/qr_decode_image_camera/src/main/cpp/generated/RNOH/generated/turbo_modules/QrDecodeImageCameraNativeModule.cpp +16 -16
- package/harmony/qr_decode_image_camera/src/main/cpp/generated/RNOH/generated/turbo_modules/QrDecodeImageCameraNativeModule.h +16 -16
- package/harmony/qr_decode_image_camera/src/main/cpp/generated/react/renderer/components/react_native_qr_decode_image_camera/ComponentDescriptors.h +24 -24
- package/harmony/qr_decode_image_camera/src/main/cpp/generated/react/renderer/components/react_native_qr_decode_image_camera/EventEmitters.cpp +16 -16
- package/harmony/qr_decode_image_camera/src/main/cpp/generated/react/renderer/components/react_native_qr_decode_image_camera/EventEmitters.h +17 -17
- package/harmony/qr_decode_image_camera/src/main/cpp/generated/react/renderer/components/react_native_qr_decode_image_camera/Props.cpp +19 -19
- package/harmony/qr_decode_image_camera/src/main/cpp/generated/react/renderer/components/react_native_qr_decode_image_camera/Props.h +18 -18
- package/harmony/qr_decode_image_camera/src/main/cpp/generated/react/renderer/components/react_native_qr_decode_image_camera/ShadowNodes.cpp +17 -17
- package/harmony/qr_decode_image_camera/src/main/cpp/generated/react/renderer/components/react_native_qr_decode_image_camera/ShadowNodes.h +23 -23
- package/harmony/qr_decode_image_camera/src/main/cpp/generated/react/renderer/components/react_native_qr_decode_image_camera/States.cpp +16 -16
- package/harmony/qr_decode_image_camera/src/main/cpp/generated/react/renderer/components/react_native_qr_decode_image_camera/States.h +18 -18
- package/harmony/qr_decode_image_camera/src/main/ets/Logger.ts +45 -45
- package/harmony/qr_decode_image_camera/src/main/ets/NativeScan.ets +150 -150
- package/harmony/qr_decode_image_camera/src/main/ets/RNQrDecodeImageCameraPackage.ts +28 -28
- package/harmony/qr_decode_image_camera/src/main/ets/RNQrDecodeImageCameraTurboModule.ts +46 -46
- package/harmony/qr_decode_image_camera/src/main/ets/generated/components/NativeScan.ts +125 -125
- package/harmony/qr_decode_image_camera/src/main/ets/generated/components/ts.ts +8 -8
- package/harmony/qr_decode_image_camera/src/main/ets/generated/index.ets +5 -5
- package/harmony/qr_decode_image_camera/src/main/ets/generated/ts.ts +6 -6
- package/harmony/qr_decode_image_camera/src/main/ets/generated/turboModules/QrDecodeImageCameraNativeModule.ts +16 -16
- package/harmony/qr_decode_image_camera/src/main/ets/generated/turboModules/ts.ts +5 -5
- package/harmony/qr_decode_image_camera/src/main/ets/pages/Index.ets +25 -25
- package/harmony/qr_decode_image_camera/src/main/ets/qr_decode_image_camera/qr_decode_image_camera.ets +47 -47
- package/harmony/qr_decode_image_camera/src/main/module.json5 +10 -10
- package/harmony/qr_decode_image_camera/src/main/resources/base/element/color.json +7 -7
- package/harmony/qr_decode_image_camera/src/main/resources/base/element/string.json +15 -15
- package/harmony/qr_decode_image_camera/src/main/resources/base/media/layered_image.json +6 -6
- package/harmony/qr_decode_image_camera/src/main/resources/base/profile/main_pages.json +5 -5
- package/harmony/qr_decode_image_camera/src/main/resources/en_US/element/string.json +15 -15
- package/harmony/qr_decode_image_camera/src/main/resources/zh_CN/element/string.json +15 -15
- package/harmony/qr_decode_image_camera/src/mock/mock-config.json5 +1 -1
- package/harmony/qr_decode_image_camera/src/ohosTest/ets/test/Ability.test.ets +34 -34
- package/harmony/qr_decode_image_camera/src/ohosTest/ets/test/List.test.ets +4 -4
- package/harmony/qr_decode_image_camera/src/ohosTest/ets/testability/TestAbility.ets +46 -46
- package/harmony/qr_decode_image_camera/src/ohosTest/ets/testability/pages/Index.ets +16 -16
- package/harmony/qr_decode_image_camera/src/ohosTest/ets/testrunner/OpenHarmonyTestRunner.ets +89 -89
- package/harmony/qr_decode_image_camera/src/ohosTest/module.json5 +36 -36
- package/harmony/qr_decode_image_camera/src/ohosTest/resources/base/element/color.json +7 -7
- package/harmony/qr_decode_image_camera/src/ohosTest/resources/base/element/string.json +15 -15
- package/harmony/qr_decode_image_camera/src/ohosTest/resources/base/profile/test_pages.json +5 -5
- package/harmony/qr_decode_image_camera/src/test/List.test.ets +4 -4
- package/harmony/qr_decode_image_camera/src/test/LocalUnit.test.ets +32 -32
- package/harmony/qr_decode_image_camera/ts.ts +7 -7
- package/index.js +14 -14
- package/package.json +39 -39
- package/src/Camera.tsx +57 -57
- package/src/NativeQrDecodeImageCamera.ts +16 -16
- package/src/NativeScan.ts +24 -24
- package/src/QRScanner.harmony.jsx +223 -225
- package/src/QRScanner.jsx +281 -281
- package/src/QRScannerView.js +382 -381
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# For most projects, this workflow file will not need changing; you simply need
|
|
2
|
+
# to commit it to your repository.
|
|
3
|
+
#
|
|
4
|
+
# You may wish to alter this file to override the set of languages analyzed,
|
|
5
|
+
# or to provide custom queries or build logic.
|
|
6
|
+
#
|
|
7
|
+
# ******** NOTE ********
|
|
8
|
+
# We have attempted to detect the languages in your repository. Please check
|
|
9
|
+
# the `language` matrix defined below to confirm you have the correct set of
|
|
10
|
+
# supported CodeQL languages.
|
|
11
|
+
# ******** NOTE ********
|
|
12
|
+
|
|
13
|
+
name: "CodeQL"
|
|
14
|
+
|
|
15
|
+
on:
|
|
16
|
+
push:
|
|
17
|
+
branches: [ master ]
|
|
18
|
+
pull_request:
|
|
19
|
+
# The branches below must be a subset of the branches above
|
|
20
|
+
branches: [ master ]
|
|
21
|
+
schedule:
|
|
22
|
+
- cron: '30 22 * * 0'
|
|
23
|
+
|
|
24
|
+
jobs:
|
|
25
|
+
analyze:
|
|
26
|
+
name: Analyze
|
|
27
|
+
runs-on: ubuntu-latest
|
|
28
|
+
|
|
29
|
+
strategy:
|
|
30
|
+
fail-fast: false
|
|
31
|
+
matrix:
|
|
32
|
+
language: [ 'javascript' ]
|
|
33
|
+
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
|
|
34
|
+
# Learn more...
|
|
35
|
+
# https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
|
|
36
|
+
|
|
37
|
+
steps:
|
|
38
|
+
- name: Checkout repository
|
|
39
|
+
uses: actions/checkout@v2
|
|
40
|
+
|
|
41
|
+
# Initializes the CodeQL tools for scanning.
|
|
42
|
+
- name: Initialize CodeQL
|
|
43
|
+
uses: github/codeql-action/init@v1
|
|
44
|
+
with:
|
|
45
|
+
languages: ${{ matrix.language }}
|
|
46
|
+
# If you wish to specify custom queries, you can do so here or in a config file.
|
|
47
|
+
# By default, queries listed here will override any specified in a config file.
|
|
48
|
+
# Prefix the list here with "+" to use these queries and those in the config file.
|
|
49
|
+
# queries: ./path/to/local/query, your-org/your-repo/queries@main
|
|
50
|
+
|
|
51
|
+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
|
52
|
+
# If this step fails, then you should remove it and run the build manually (see below)
|
|
53
|
+
# - name: Autobuild
|
|
54
|
+
# uses: github/codeql-action/autobuild@v1
|
|
55
|
+
|
|
56
|
+
# ℹ️ Command-line programs to run using the OS shell.
|
|
57
|
+
# 📚 https://git.io/JvXDl
|
|
58
|
+
|
|
59
|
+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
|
|
60
|
+
# and modify them (or add more) to build your code if your project
|
|
61
|
+
# uses a compiled language
|
|
62
|
+
|
|
63
|
+
#- run: |
|
|
64
|
+
# make bootstrap
|
|
65
|
+
# make release
|
|
66
|
+
|
|
67
|
+
- name: Perform CodeQL Analysis
|
|
68
|
+
uses: github/codeql-action/analyze@v1
|
package/COMMITTERS.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
## Committers列表
|
|
2
|
-
|
|
3
|
-
### 以下是此项目的committer人员
|
|
4
|
-
|
|
5
|
-
不区分先后顺序
|
|
6
|
-
|
|
1
|
+
## Committers列表
|
|
2
|
+
|
|
3
|
+
### 以下是此项目的committer人员
|
|
4
|
+
|
|
5
|
+
不区分先后顺序
|
|
6
|
+
|
|
7
7
|
- [xiafeng_xf_admin](https://gitee.com/xiafeng_xf_admin)
|
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2019 Deepan Raj Kumar
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2019 Deepan Raj Kumar
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/OAT.xml
CHANGED
|
@@ -1,89 +1,89 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<configuration>
|
|
3
|
-
<oatconfig>
|
|
4
|
-
<licensefile>LICENSE</licensefile>
|
|
5
|
-
<policylist>
|
|
6
|
-
<policy name="projectPolicy" desc="">
|
|
7
|
-
<policyitem type="license" name="MIT" path=".*" desc="license under the MIT"/>
|
|
8
|
-
</policy>
|
|
9
|
-
<policy name="projectPolicy" desc="">
|
|
10
|
-
<policyitem type="compatibility" name="GPL-2.0+" path=".*" desc="Process that runs independently, invoked by the X process."/>
|
|
11
|
-
<policyitem type="compatibility" name="Apache-2.0" path=".*" desc="不影响兼容性"/>
|
|
12
|
-
<policyitem type="compatibility" name="BSDStyleLicense" path=".*" desc="不影响兼容性" />
|
|
13
|
-
<policyitem type="compatibility" name="MIT" path=".*" desc="不影响兼容性" />
|
|
14
|
-
<policyitem type="compatibility" name="GPLStyleLicense" path=".*" desc="不影响兼容性" />
|
|
15
|
-
</policy>
|
|
16
|
-
</policylist>
|
|
17
|
-
<filefilterlist>
|
|
18
|
-
<filefilter name="copyrightPolicyFilter" desc="Filters for compatibility,license header policies">
|
|
19
|
-
<filteritem type="filename" name="*.json5" desc="hvigor配置文件,DevEco Studio自动生成,不手动修改"/>
|
|
20
|
-
<filteritem type="filename" name="*/*.json5" desc="hvigor配置文件,DevEco Studio自动生成,不手动修改"/>
|
|
21
|
-
<filteritem type="filename" name="LICENSE" desc="版权文件,不添加版权头"/>
|
|
22
|
-
<filteritem type="filepath" name="hvigorw" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
23
|
-
<filteritem type="filepath" name="hvigorw.bat" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
24
|
-
<filteritem type="filepath" name="js/*.js" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
25
|
-
<filteritem type="filepath" name="js/*.ts" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
26
|
-
<filteritem type="filepath" name="src/*.js" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
27
|
-
<filteritem type="filepath" name="src/*.ts" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
28
|
-
<filteritem type="filepath" name="*.js" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
29
|
-
<filteritem type="filepath" name="*.ts" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
30
|
-
<filteritem type="filepath" name="index.*" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
31
|
-
<filteritem type="filepath" name="hvigor/hvigor-wrapper.js" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
32
|
-
<filteritem type="filepath" name="hvigor/hvigor-config.json5" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
33
|
-
<filteritem type="filename" name="LICENSE" desc="版权文件,不添加版权头"/>
|
|
34
|
-
<filteritem type="filename" name="hvigorw" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
35
|
-
<filteritem type="filename" name="hvigorw.bat" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
36
|
-
<filteritem type="filename" name=".npmrc" desc="项目配置文件,不添加版权头"/>
|
|
37
|
-
<filteritem type="filename" name="*.json5" desc="示例工程配置文件,非业务代码,不添加许可证头"/>
|
|
38
|
-
<filteritem type="filepath" name="docs/.*" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
39
|
-
<filteritem type="filename" name=".npmignore" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
40
|
-
<filteritem type="filename" name="yarn.lock" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
41
|
-
<filteritem type="filename" name="OAT.XML" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
42
|
-
<filteritem type="filepath" name="harmony/qr_decode_image_camera/BuildProfile.ets" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
43
|
-
<filteritem type="filepath" name="harmony/qr_decode_image_camera/src/ohosTest/.*" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
44
|
-
<filteritem type="filepath" name="harmony/qr_decode_image_camera/src/test/.*" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
45
|
-
<filteritem type="filepath" name="harmony/qr_decode_image_camera/hvigorfile.ts" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
46
|
-
<filteritem type="filename" name="QrCode.podspec" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
47
|
-
<filteritem type="filepath" name="src/QRScannerView.js" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
48
|
-
<filteritem type="filepath" name="src/QRScanner.jsx" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
49
|
-
</filefilter>
|
|
50
|
-
<filefilter name="defaultPolicyFilter" desc="Filters for compatibility,license header policies">
|
|
51
|
-
<filteritem type="filename" name="*.json5" desc="hvigor配置文件,DevEco Studio自动生成,不手动修改"/>
|
|
52
|
-
<filteritem type="filename" name="*/*.json5" desc="hvigor配置文件,DevEco Studio自动生成,不手动修改"/>
|
|
53
|
-
<filteritem type="filename" name="LICENSE" desc="版权文件,不添加版权头"/>
|
|
54
|
-
<filteritem type="filepath" name="hvigorw" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
55
|
-
<filteritem type="filepath" name="hvigorw.bat" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
56
|
-
<filteritem type="filepath" name="js/*.js" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
57
|
-
<filteritem type="filepath" name="js/*.ts" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
58
|
-
<filteritem type="filepath" name="src/*.js" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
59
|
-
<filteritem type="filepath" name="src/*.ts" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
60
|
-
<filteritem type="filepath" name="*.js" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
61
|
-
<filteritem type="filepath" name="*.ts" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
62
|
-
<filteritem type="filepath" name="index.*" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
63
|
-
<filteritem type="filepath" name="hvigor/hvigor-wrapper.js" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
64
|
-
<filteritem type="filepath" name="hvigor/hvigor-config.json5" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
65
|
-
<filteritem type="filename" name="LICENSE" desc="版权文件,不添加版权头"/>
|
|
66
|
-
<filteritem type="filename" name="hvigorw" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
67
|
-
<filteritem type="filename" name="hvigorw.bat" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
68
|
-
<filteritem type="filename" name=".npmrc" desc="项目配置文件,不添加版权头"/>
|
|
69
|
-
<filteritem type="filename" name="*.json5" desc="示例工程配置文件,非业务代码,不添加许可证头"/>
|
|
70
|
-
<filteritem type="filepath" name="docs/.*" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
71
|
-
<filteritem type="filename" name=".npmignore" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
72
|
-
<filteritem type="filename" name="yarn.lock" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
73
|
-
<filteritem type="filename" name="OAT.XML" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
74
|
-
<filteritem type="filepath" name="harmony/qr_decode_image_camera/BuildProfile.ets" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
75
|
-
<filteritem type="filepath" name="harmony/qr_decode_image_camera/src/ohosTest/.*" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
76
|
-
<filteritem type="filepath" name="harmony/qr_decode_image_camera/src/test/.*" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
77
|
-
<filteritem type="filepath" name="harmony/qr_decode_image_camera/hvigorfile.ts" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
78
|
-
<filteritem type="filepath" name="src/QRScannerView.js" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
79
|
-
<filteritem type="filepath" name="src/QRScanner.jsx" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
80
|
-
<filteritem type="filename" name="QrCode.podspec" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
81
|
-
</filefilter>
|
|
82
|
-
<filefilter name="binaryFileTypePolicyFilter" desc="Filters for copyright header policies">
|
|
83
|
-
<filteritem type="filepath" name="harmony/qr_decode_image_camera.har" desc="项目打包文件" />
|
|
84
|
-
<filteritem type="filepath" name="harmony/qr_decode_image_camera/src/main/resources/.*" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
85
|
-
<filteritem type="filepath" name="harmony/qr_decode_image_camera/src/ohosTest/resources/.*" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
86
|
-
</filefilter>
|
|
87
|
-
</filefilterlist>
|
|
88
|
-
</oatconfig>
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<configuration>
|
|
3
|
+
<oatconfig>
|
|
4
|
+
<licensefile>LICENSE</licensefile>
|
|
5
|
+
<policylist>
|
|
6
|
+
<policy name="projectPolicy" desc="">
|
|
7
|
+
<policyitem type="license" name="MIT" path=".*" desc="license under the MIT"/>
|
|
8
|
+
</policy>
|
|
9
|
+
<policy name="projectPolicy" desc="">
|
|
10
|
+
<policyitem type="compatibility" name="GPL-2.0+" path=".*" desc="Process that runs independently, invoked by the X process."/>
|
|
11
|
+
<policyitem type="compatibility" name="Apache-2.0" path=".*" desc="不影响兼容性"/>
|
|
12
|
+
<policyitem type="compatibility" name="BSDStyleLicense" path=".*" desc="不影响兼容性" />
|
|
13
|
+
<policyitem type="compatibility" name="MIT" path=".*" desc="不影响兼容性" />
|
|
14
|
+
<policyitem type="compatibility" name="GPLStyleLicense" path=".*" desc="不影响兼容性" />
|
|
15
|
+
</policy>
|
|
16
|
+
</policylist>
|
|
17
|
+
<filefilterlist>
|
|
18
|
+
<filefilter name="copyrightPolicyFilter" desc="Filters for compatibility,license header policies">
|
|
19
|
+
<filteritem type="filename" name="*.json5" desc="hvigor配置文件,DevEco Studio自动生成,不手动修改"/>
|
|
20
|
+
<filteritem type="filename" name="*/*.json5" desc="hvigor配置文件,DevEco Studio自动生成,不手动修改"/>
|
|
21
|
+
<filteritem type="filename" name="LICENSE" desc="版权文件,不添加版权头"/>
|
|
22
|
+
<filteritem type="filepath" name="hvigorw" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
23
|
+
<filteritem type="filepath" name="hvigorw.bat" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
24
|
+
<filteritem type="filepath" name="js/*.js" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
25
|
+
<filteritem type="filepath" name="js/*.ts" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
26
|
+
<filteritem type="filepath" name="src/*.js" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
27
|
+
<filteritem type="filepath" name="src/*.ts" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
28
|
+
<filteritem type="filepath" name="*.js" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
29
|
+
<filteritem type="filepath" name="*.ts" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
30
|
+
<filteritem type="filepath" name="index.*" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
31
|
+
<filteritem type="filepath" name="hvigor/hvigor-wrapper.js" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
32
|
+
<filteritem type="filepath" name="hvigor/hvigor-config.json5" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
33
|
+
<filteritem type="filename" name="LICENSE" desc="版权文件,不添加版权头"/>
|
|
34
|
+
<filteritem type="filename" name="hvigorw" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
35
|
+
<filteritem type="filename" name="hvigorw.bat" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
36
|
+
<filteritem type="filename" name=".npmrc" desc="项目配置文件,不添加版权头"/>
|
|
37
|
+
<filteritem type="filename" name="*.json5" desc="示例工程配置文件,非业务代码,不添加许可证头"/>
|
|
38
|
+
<filteritem type="filepath" name="docs/.*" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
39
|
+
<filteritem type="filename" name=".npmignore" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
40
|
+
<filteritem type="filename" name="yarn.lock" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
41
|
+
<filteritem type="filename" name="OAT.XML" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
42
|
+
<filteritem type="filepath" name="harmony/qr_decode_image_camera/BuildProfile.ets" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
43
|
+
<filteritem type="filepath" name="harmony/qr_decode_image_camera/src/ohosTest/.*" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
44
|
+
<filteritem type="filepath" name="harmony/qr_decode_image_camera/src/test/.*" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
45
|
+
<filteritem type="filepath" name="harmony/qr_decode_image_camera/hvigorfile.ts" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
46
|
+
<filteritem type="filename" name="QrCode.podspec" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
47
|
+
<filteritem type="filepath" name="src/QRScannerView.js" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
48
|
+
<filteritem type="filepath" name="src/QRScanner.jsx" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
49
|
+
</filefilter>
|
|
50
|
+
<filefilter name="defaultPolicyFilter" desc="Filters for compatibility,license header policies">
|
|
51
|
+
<filteritem type="filename" name="*.json5" desc="hvigor配置文件,DevEco Studio自动生成,不手动修改"/>
|
|
52
|
+
<filteritem type="filename" name="*/*.json5" desc="hvigor配置文件,DevEco Studio自动生成,不手动修改"/>
|
|
53
|
+
<filteritem type="filename" name="LICENSE" desc="版权文件,不添加版权头"/>
|
|
54
|
+
<filteritem type="filepath" name="hvigorw" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
55
|
+
<filteritem type="filepath" name="hvigorw.bat" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
56
|
+
<filteritem type="filepath" name="js/*.js" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
57
|
+
<filteritem type="filepath" name="js/*.ts" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
58
|
+
<filteritem type="filepath" name="src/*.js" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
59
|
+
<filteritem type="filepath" name="src/*.ts" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
60
|
+
<filteritem type="filepath" name="*.js" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
61
|
+
<filteritem type="filepath" name="*.ts" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
62
|
+
<filteritem type="filepath" name="index.*" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
63
|
+
<filteritem type="filepath" name="hvigor/hvigor-wrapper.js" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
64
|
+
<filteritem type="filepath" name="hvigor/hvigor-config.json5" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
65
|
+
<filteritem type="filename" name="LICENSE" desc="版权文件,不添加版权头"/>
|
|
66
|
+
<filteritem type="filename" name="hvigorw" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
67
|
+
<filteritem type="filename" name="hvigorw.bat" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
68
|
+
<filteritem type="filename" name=".npmrc" desc="项目配置文件,不添加版权头"/>
|
|
69
|
+
<filteritem type="filename" name="*.json5" desc="示例工程配置文件,非业务代码,不添加许可证头"/>
|
|
70
|
+
<filteritem type="filepath" name="docs/.*" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
71
|
+
<filteritem type="filename" name=".npmignore" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
72
|
+
<filteritem type="filename" name="yarn.lock" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
73
|
+
<filteritem type="filename" name="OAT.XML" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
74
|
+
<filteritem type="filepath" name="harmony/qr_decode_image_camera/BuildProfile.ets" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
75
|
+
<filteritem type="filepath" name="harmony/qr_decode_image_camera/src/ohosTest/.*" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
76
|
+
<filteritem type="filepath" name="harmony/qr_decode_image_camera/src/test/.*" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
77
|
+
<filteritem type="filepath" name="harmony/qr_decode_image_camera/hvigorfile.ts" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
78
|
+
<filteritem type="filepath" name="src/QRScannerView.js" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
79
|
+
<filteritem type="filepath" name="src/QRScanner.jsx" desc="第三方开源软件源码,不修改版权头,以防有修改版权风险"/>
|
|
80
|
+
<filteritem type="filename" name="QrCode.podspec" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
81
|
+
</filefilter>
|
|
82
|
+
<filefilter name="binaryFileTypePolicyFilter" desc="Filters for copyright header policies">
|
|
83
|
+
<filteritem type="filepath" name="harmony/qr_decode_image_camera.har" desc="项目打包文件" />
|
|
84
|
+
<filteritem type="filepath" name="harmony/qr_decode_image_camera/src/main/resources/.*" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
85
|
+
<filteritem type="filepath" name="harmony/qr_decode_image_camera/src/ohosTest/resources/.*" desc="工程模板,不修改版权头,以防有修改版权风险"/>
|
|
86
|
+
</filefilter>
|
|
87
|
+
</filefilterlist>
|
|
88
|
+
</oatconfig>
|
|
89
89
|
</configuration>
|
package/QrCode.podspec
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
Pod::Spec.new do |s|
|
|
2
|
-
s.name = "QrCode"
|
|
3
|
-
s.version = "1.0.0"
|
|
4
|
-
s.summary = "some interesting summary."
|
|
5
|
-
s.description = "some interesting summary. 123123"
|
|
6
|
-
s.license = { :type => "MIT", :file => "LICENSE" }
|
|
7
|
-
s.homepage = "https://github.com/deepanrajkumar/react-native-qr-decode-image-camera#readme"
|
|
8
|
-
s.source = { :git => "https://github.com/deepanrajkumar/react-native-qr-decode-image-camera.git", :tag => "#{s.version}" }
|
|
9
|
-
s.author = "Igor"
|
|
10
|
-
s.platform = :ios, "9.0"
|
|
11
|
-
s.source_files = "ios/QrCode/", "ios/QrCode/*.{h,m}"
|
|
12
|
-
s.frameworks = ["UIKit", "AVFoundation", "CoreImage"]
|
|
13
|
-
s.dependency 'React'
|
|
14
|
-
end
|
|
1
|
+
Pod::Spec.new do |s|
|
|
2
|
+
s.name = "QrCode"
|
|
3
|
+
s.version = "1.0.0"
|
|
4
|
+
s.summary = "some interesting summary."
|
|
5
|
+
s.description = "some interesting summary. 123123"
|
|
6
|
+
s.license = { :type => "MIT", :file => "LICENSE" }
|
|
7
|
+
s.homepage = "https://github.com/deepanrajkumar/react-native-qr-decode-image-camera#readme"
|
|
8
|
+
s.source = { :git => "https://github.com/deepanrajkumar/react-native-qr-decode-image-camera.git", :tag => "#{s.version}" }
|
|
9
|
+
s.author = "Igor"
|
|
10
|
+
s.platform = :ios, "9.0"
|
|
11
|
+
s.source_files = "ios/QrCode/", "ios/QrCode/*.{h,m}"
|
|
12
|
+
s.frameworks = ["UIKit", "AVFoundation", "CoreImage"]
|
|
13
|
+
s.dependency 'React'
|
|
14
|
+
end
|
package/README.OpenSource
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"Name": "react-native-qr-decode-image-camera",
|
|
4
|
-
"License": "MIT License",
|
|
5
|
-
"License File": "https://github.com/deepanrajkumar/react-native-qr-decode-image-camera/blob/master/LICENSE",
|
|
6
|
-
"Version Number": "1.1.3",
|
|
7
|
-
"Owner" : "xiafeng@huawei.com",
|
|
8
|
-
"Upstream URL": "https://github.com/deepanrajkumar/react-native-qr-decode-image-camera",
|
|
9
|
-
"Description": "Decode react native from gallery and camera"
|
|
10
|
-
}
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"Name": "react-native-qr-decode-image-camera",
|
|
4
|
+
"License": "MIT License",
|
|
5
|
+
"License File": "https://github.com/deepanrajkumar/react-native-qr-decode-image-camera/blob/master/LICENSE",
|
|
6
|
+
"Version Number": "1.1.3",
|
|
7
|
+
"Owner" : "xiafeng@huawei.com",
|
|
8
|
+
"Upstream URL": "https://github.com/deepanrajkumar/react-native-qr-decode-image-camera",
|
|
9
|
+
"Description": "Decode react native from gallery and camera"
|
|
10
|
+
}
|
|
11
11
|
]
|
package/README.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
# @react-native-ohos/react-native-qr-decode-image-camera
|
|
2
|
-
|
|
3
|
-
This project is based on [react-native-qr-decode-image-camera@1.1.3](https://github.com/deepanrajkumar/react-native-qr-decode-image-camera)
|
|
4
|
-
|
|
5
|
-
## Documentation URL
|
|
6
|
-
|
|
7
|
-
- [中文 ](https://gitee.com/react-native-oh-library/usage-docs/blob/master/zh-cn/react-native-qr-decode-image-camera.md)
|
|
8
|
-
|
|
9
|
-
- [英文 ](https://gitee.com/react-native-oh-library/usage-docs/blob/master/en/react-native-qr-decode-image-camera.md)
|
|
10
|
-
|
|
11
|
-
## License
|
|
12
|
-
|
|
13
|
-
This library is licensed under [The MIT License (MIT)](https://github.com/deepanrajkumar/react-native-qr-decode-image-camera/blob/master/LICENSE)
|
|
1
|
+
# @react-native-ohos/react-native-qr-decode-image-camera
|
|
2
|
+
|
|
3
|
+
This project is based on [react-native-qr-decode-image-camera@1.1.3](https://github.com/deepanrajkumar/react-native-qr-decode-image-camera)
|
|
4
|
+
|
|
5
|
+
## Documentation URL
|
|
6
|
+
|
|
7
|
+
- [中文 ](https://gitee.com/react-native-oh-library/usage-docs/blob/master/zh-cn/react-native-qr-decode-image-camera.md)
|
|
8
|
+
|
|
9
|
+
- [英文 ](https://gitee.com/react-native-oh-library/usage-docs/blob/master/en/react-native-qr-decode-image-camera.md)
|
|
10
|
+
|
|
11
|
+
## License
|
|
12
|
+
|
|
13
|
+
This library is licensed under [The MIT License (MIT)](https://github.com/deepanrajkumar/react-native-qr-decode-image-camera/blob/master/LICENSE)
|
package/SECURITY.md
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
# Security Policy
|
|
2
|
-
|
|
3
|
-
## Supported Versions
|
|
4
|
-
|
|
5
|
-
Use this section to tell people about which versions of your project are
|
|
6
|
-
currently being supported with security updates.
|
|
7
|
-
|
|
8
|
-
| Version | Supported |
|
|
9
|
-
| ------- | ------------------ |
|
|
10
|
-
| 5.1.x | :white_check_mark: |
|
|
11
|
-
| 5.0.x | :x: |
|
|
12
|
-
| 4.0.x | :white_check_mark: |
|
|
13
|
-
| < 4.0 | :x: |
|
|
14
|
-
|
|
15
|
-
## Reporting a Vulnerability
|
|
16
|
-
|
|
17
|
-
Use this section to tell people how to report a vulnerability.
|
|
18
|
-
|
|
19
|
-
Tell them where to go, how often they can expect to get an update on a
|
|
20
|
-
reported vulnerability, what to expect if the vulnerability is accepted or
|
|
21
|
-
declined, etc.
|
|
1
|
+
# Security Policy
|
|
2
|
+
|
|
3
|
+
## Supported Versions
|
|
4
|
+
|
|
5
|
+
Use this section to tell people about which versions of your project are
|
|
6
|
+
currently being supported with security updates.
|
|
7
|
+
|
|
8
|
+
| Version | Supported |
|
|
9
|
+
| ------- | ------------------ |
|
|
10
|
+
| 5.1.x | :white_check_mark: |
|
|
11
|
+
| 5.0.x | :x: |
|
|
12
|
+
| 4.0.x | :white_check_mark: |
|
|
13
|
+
| < 4.0 | :x: |
|
|
14
|
+
|
|
15
|
+
## Reporting a Vulnerability
|
|
16
|
+
|
|
17
|
+
Use this section to tell people how to report a vulnerability.
|
|
18
|
+
|
|
19
|
+
Tell them where to go, how often they can expect to get an update on a
|
|
20
|
+
reported vulnerability, what to expect if the vulnerability is accepted or
|
|
21
|
+
declined, etc.
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Use these variables when you tailor your ArkTS code. They must be of the const type.
|
|
3
|
-
*/
|
|
4
|
-
export const HAR_VERSION = '1.
|
|
5
|
-
export const BUILD_MODE_NAME = 'debug';
|
|
6
|
-
export const DEBUG = true;
|
|
7
|
-
export const TARGET_NAME = 'default';
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* BuildProfile Class is used only for compatibility purposes.
|
|
11
|
-
*/
|
|
12
|
-
export default class BuildProfile {
|
|
13
|
-
static readonly HAR_VERSION = HAR_VERSION;
|
|
14
|
-
static readonly BUILD_MODE_NAME = BUILD_MODE_NAME;
|
|
15
|
-
static readonly DEBUG = DEBUG;
|
|
16
|
-
static readonly TARGET_NAME = TARGET_NAME;
|
|
1
|
+
/**
|
|
2
|
+
* Use these variables when you tailor your ArkTS code. They must be of the const type.
|
|
3
|
+
*/
|
|
4
|
+
export const HAR_VERSION = '1.1.4-rc.1';
|
|
5
|
+
export const BUILD_MODE_NAME = 'debug';
|
|
6
|
+
export const DEBUG = true;
|
|
7
|
+
export const TARGET_NAME = 'default';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* BuildProfile Class is used only for compatibility purposes.
|
|
11
|
+
*/
|
|
12
|
+
export default class BuildProfile {
|
|
13
|
+
static readonly HAR_VERSION = HAR_VERSION;
|
|
14
|
+
static readonly BUILD_MODE_NAME = BUILD_MODE_NAME;
|
|
15
|
+
static readonly DEBUG = DEBUG;
|
|
16
|
+
static readonly TARGET_NAME = TARGET_NAME;
|
|
17
17
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved
|
|
3
|
-
* Use of this source code is governed by a MIT license that can be
|
|
4
|
-
* found in the LICENSE file.
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
export * from "./ts";
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved
|
|
3
|
+
* Use of this source code is governed by a MIT license that can be
|
|
4
|
+
* found in the LICENSE file.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
export * from "./ts";
|
|
8
8
|
export * from "./src/main/ets/NativeScan"
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
{
|
|
2
|
-
"apiType": "stageMode",
|
|
3
|
-
"buildOption": {
|
|
4
|
-
},
|
|
5
|
-
"buildOptionSet": [
|
|
6
|
-
{
|
|
7
|
-
"name": "release",
|
|
8
|
-
"arkOptions": {
|
|
9
|
-
"obfuscation": {
|
|
10
|
-
"ruleOptions": {
|
|
11
|
-
"enable": true,
|
|
12
|
-
"files": [
|
|
13
|
-
"./obfuscation-rules.txt"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
],
|
|
20
|
-
"targets": [
|
|
21
|
-
{
|
|
22
|
-
"name": "default"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"name": "ohosTest",
|
|
26
|
-
}
|
|
27
|
-
]
|
|
1
|
+
{
|
|
2
|
+
"apiType": "stageMode",
|
|
3
|
+
"buildOption": {
|
|
4
|
+
},
|
|
5
|
+
"buildOptionSet": [
|
|
6
|
+
{
|
|
7
|
+
"name": "release",
|
|
8
|
+
"arkOptions": {
|
|
9
|
+
"obfuscation": {
|
|
10
|
+
"ruleOptions": {
|
|
11
|
+
"enable": true,
|
|
12
|
+
"files": [
|
|
13
|
+
"./obfuscation-rules.txt"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
],
|
|
20
|
+
"targets": [
|
|
21
|
+
{
|
|
22
|
+
"name": "default"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "ohosTest",
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
28
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
# Define project specific obfuscation rules here.
|
|
2
|
-
# You can include the obfuscation configuration files in the current module's build-profile.json5.
|
|
3
|
-
#
|
|
4
|
-
# For more details, see
|
|
5
|
-
# https://gitee.com/openharmony/arkcompiler_ets_frontend/blob/master/arkguard/README.md
|
|
6
|
-
|
|
7
|
-
# Obfuscation options:
|
|
8
|
-
# -disable-obfuscation: disable all obfuscations
|
|
9
|
-
# -enable-property-obfuscation: obfuscate the property names
|
|
10
|
-
# -enable-toplevel-obfuscation: obfuscate the names in the global scope
|
|
11
|
-
# -compact: remove unnecessary blank spaces and all line feeds
|
|
12
|
-
# -remove-log: remove all console.* statements
|
|
13
|
-
# -print-namecache: print the name cache that contains the mapping from the old names to new names
|
|
14
|
-
# -apply-namecache: reuse the given cache file
|
|
15
|
-
|
|
16
|
-
# Keep options:
|
|
17
|
-
# -keep-property-name: specifies property names that you want to keep
|
|
1
|
+
# Define project specific obfuscation rules here.
|
|
2
|
+
# You can include the obfuscation configuration files in the current module's build-profile.json5.
|
|
3
|
+
#
|
|
4
|
+
# For more details, see
|
|
5
|
+
# https://gitee.com/openharmony/arkcompiler_ets_frontend/blob/master/arkguard/README.md
|
|
6
|
+
|
|
7
|
+
# Obfuscation options:
|
|
8
|
+
# -disable-obfuscation: disable all obfuscations
|
|
9
|
+
# -enable-property-obfuscation: obfuscate the property names
|
|
10
|
+
# -enable-toplevel-obfuscation: obfuscate the names in the global scope
|
|
11
|
+
# -compact: remove unnecessary blank spaces and all line feeds
|
|
12
|
+
# -remove-log: remove all console.* statements
|
|
13
|
+
# -print-namecache: print the name cache that contains the mapping from the old names to new names
|
|
14
|
+
# -apply-namecache: reuse the given cache file
|
|
15
|
+
|
|
16
|
+
# Keep options:
|
|
17
|
+
# -keep-property-name: specifies property names that you want to keep
|
|
18
18
|
# -keep-global-name: specifies names that you want to keep in the global scope
|