@react-native-ohos/audio-toolkit 2.1.0-rc.1 → 2.1.0-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.
Files changed (49) hide show
  1. package/CHANGELOG.md +6 -136
  2. package/COMMITTERS.md +6 -6
  3. package/LICENSE +22 -22
  4. package/ReactNativeAudioToolkit.podspec +18 -18
  5. package/harmony/audio_toolkit/LICENSE +20 -20
  6. package/harmony/audio_toolkit/NOTICE +32 -32
  7. package/harmony/audio_toolkit/OAT.xml +37 -37
  8. package/harmony/audio_toolkit/README.OpenSource +10 -10
  9. package/harmony/audio_toolkit/README.md +16 -16
  10. package/harmony/audio_toolkit/build-profile.json5 +7 -7
  11. package/harmony/audio_toolkit/hvigorfile.ts +1 -1
  12. package/harmony/audio_toolkit/index.ets +24 -24
  13. package/harmony/audio_toolkit/oh-package.json5 +12 -12
  14. package/harmony/audio_toolkit/src/main/cpp/generated/RNOH/generated/BaseAudioToolkitPackage.h +76 -76
  15. package/harmony/audio_toolkit/src/main/cpp/generated/RNOH/generated/turbo_modules/RCTAudioPlayer.cpp +23 -23
  16. package/harmony/audio_toolkit/src/main/cpp/generated/RNOH/generated/turbo_modules/RCTAudioPlayer.h +16 -16
  17. package/harmony/audio_toolkit/src/main/cpp/generated/RNOH/generated/turbo_modules/RCTAudioRecorder.cpp +20 -20
  18. package/harmony/audio_toolkit/src/main/cpp/generated/RNOH/generated/turbo_modules/RCTAudioRecorder.h +16 -16
  19. package/harmony/audio_toolkit/src/main/cpp/generated/react/renderer/components/audio_toolkit/ComponentDescriptors.h +24 -24
  20. package/harmony/audio_toolkit/src/main/cpp/generated/react/renderer/components/audio_toolkit/EventEmitters.cpp +16 -16
  21. package/harmony/audio_toolkit/src/main/cpp/generated/react/renderer/components/audio_toolkit/EventEmitters.h +17 -17
  22. package/harmony/audio_toolkit/src/main/cpp/generated/react/renderer/components/audio_toolkit/Props.cpp +19 -19
  23. package/harmony/audio_toolkit/src/main/cpp/generated/react/renderer/components/audio_toolkit/Props.h +18 -18
  24. package/harmony/audio_toolkit/src/main/cpp/generated/react/renderer/components/audio_toolkit/ShadowNodes.cpp +17 -17
  25. package/harmony/audio_toolkit/src/main/cpp/generated/react/renderer/components/audio_toolkit/ShadowNodes.h +23 -23
  26. package/harmony/audio_toolkit/src/main/cpp/generated/react/renderer/components/audio_toolkit/States.cpp +16 -16
  27. package/harmony/audio_toolkit/src/main/cpp/generated/react/renderer/components/audio_toolkit/States.h +18 -18
  28. package/harmony/audio_toolkit/src/main/ets/AudioToolkitPackage.ts +50 -50
  29. package/harmony/audio_toolkit/src/main/ets/Logger.ts +63 -63
  30. package/harmony/audio_toolkit/src/main/ets/RNCAudioPlayerTurboModule.ts +518 -432
  31. package/harmony/audio_toolkit/src/main/ets/RNCAudioRecorderTurboModule.ts +260 -260
  32. package/harmony/audio_toolkit/src/main/ets/generated/components/ts.ts +5 -5
  33. package/harmony/audio_toolkit/src/main/ets/generated/index.ets +5 -5
  34. package/harmony/audio_toolkit/src/main/ets/generated/ts.ts +6 -6
  35. package/harmony/audio_toolkit/src/main/ets/generated/turboModules/RCTAudioPlayer.ts +40 -40
  36. package/harmony/audio_toolkit/src/main/ets/generated/turboModules/RCTAudioRecorder.ts +24 -24
  37. package/harmony/audio_toolkit/src/main/ets/generated/turboModules/ts.ts +6 -6
  38. package/harmony/audio_toolkit/src/main/module.json5 +6 -6
  39. package/harmony/audio_toolkit/src/main/resources/base/element/string.json +7 -7
  40. package/harmony/audio_toolkit/src/main/resources/en_US/element/string.json +7 -7
  41. package/harmony/audio_toolkit/src/main/resources/zh_CN/element/string.json +7 -7
  42. package/harmony/audio_toolkit/ts.ts +25 -25
  43. package/harmony/audio_toolkit.har +0 -0
  44. package/package.json +47 -47
  45. package/src/Player.js +329 -329
  46. package/src/PlayerModule.ts +51 -51
  47. package/src/Recorder.js +183 -183
  48. package/src/RecorderModule.ts +83 -83
  49. package/src/index.ts +5 -5
package/CHANGELOG.md CHANGED
@@ -1,136 +1,6 @@
1
- # Changelog
2
- All notable changes to this project will be documented in this file.
3
-
4
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
5
-
6
- ## Unreleased
7
- ### Added
8
- - Add inline base64 audio URL support
9
- - Add ability to generate metering events while recording, which measure sound input levels
10
-
11
- ### Fixed
12
- - Android: Fixed a compatibility issue on Android where on some Android models (e.g. HUAWEI) a -38 error is generated
13
- - iOS: Fixed duration not being provided until getCurrentTime is called
14
-
15
- ## [2.0.3] - 2020-03-23
16
- ### Added
17
- - Add Player option mixWithOthers
18
- - iOS: Add ability to override audio session category
19
-
20
- ### Changed
21
- - Android: Remove unneeded references to Android support library, improving Android X support
22
-
23
- ### Fixed
24
- - iOS: Made linking to RCTBridgeModule.h more robust
25
- - iOS: Fixed podspec not using right Git tag string
26
-
27
- ## [2.0.2] - 2019-07-09
28
- ### Added
29
- - Cocoapods support
30
-
31
- ### Changed
32
- - Add more specific error strings to TypeScript error types
33
-
34
- ### Fixed
35
- - Android: Fix Gradle warning related to defining the targetSdk within the AndroidManifest.xml
36
-
37
- ## [2.0.1] - 2019-06-26
38
- ### Fixed
39
- - Fixed iOS linking errors caused by change of folder structure
40
-
41
- ## [2.0.0] - 2019-06-26
42
- ### BREAKING CHANGES
43
- - Changed npm package name from `react-native-audio-toolkit` to `@react-native-community/audio-toolkit` and changed Android namespace from `com.futurice.rctaudiotoolkit` to `com.reactnativecommunity.rctaudiotoolkit`. These changes require users to reinstall and re-link the library to update to this version. This can be done manually or automatically during the update process via:
44
- ```
45
- react-native unlink react-native-audio-toolkit
46
- npm uninstall --save react-native-audio-toolkit
47
- npm install --save @react-native-community/audio-toolkit
48
- react-native link @react-native-community/audio-toolkit
49
- ```
50
- - Android: Remove permissions from library AndroidManifest and instead require users to add them. See [SETUP.md](https://github.com/react-native-community/react-native-audio-toolkit/blob/master/docs/SETUP.md) and PR [#148](https://github.com/react-native-community/react-native-audio-toolkit/pull/148) for more details
51
-
52
- ### Added
53
- - Add Typescript typings
54
- - Add ability to set playback speed for audio player
55
- - Add ability to pause a Recorder
56
- - Android: Add ability to record to AAC
57
- - iOS: Added possibility to record from Bluetooth microphone
58
-
59
- ### Changed
60
- - Specify exactly which files to include in npm package
61
- - Only import specific items from lodash to keep build size down
62
- - Android: `build.gradle` will use SDK version settings of the root project, if available
63
- - iOS: Buffer up to 10 seconds of audio before beginning playback
64
-
65
- ### Fixed
66
- - Fixed some incorrect examples in the documentation
67
- - Android: Guard against possible exceptions while parsing stack trace
68
- - Android: Guard against exceptions that can appear in onHostPause
69
- - Android: Fix build error related to defining `android:minSdkVersion` in the library's AndroidManifest
70
- - Android: Fix crash on devices running API level 22 or earlier
71
- - iOS: Fix `Player.pause()` not setting `PAUSED` state
72
-
73
- ## [1.0.6] - 2017-11-01
74
- ### Changed
75
- - Android: Changed prepare to prepareAsync
76
-
77
- ### Fixed
78
- - Fix compatibility with React Native 0.47
79
- - Fix compatibility with React Native 0.48
80
- - Fix compatibility with React Native 0.49
81
- - Android: Fix updating playerContinueInBackground
82
- - Android: Fix a bug when finding audio file
83
- - Android: Fix compatibility with API level 16 by removing usage of `java.util.Objects`
84
-
85
- ## [1.0.5] - 2016-09-22
86
- ### Changed
87
- - Android: By default pause playback if app is sent to background
88
-
89
- ## [1.0.4] - 2016-08-26
90
- ### Fixed
91
- - iOS: Fix audio events
92
-
93
- ## [1.0.3] - 2016-08-17
94
- ### Added
95
- - Add Player state diagram to documentation
96
- - Add recording example to README.md
97
- - Record `prepare()` returns filesystem path of file being recorded to
98
-
99
- ### Fixed
100
- - Missing `this` in setup example
101
-
102
- ## [1.0.2] - 2016-06-25
103
- ### Added
104
- - Add description to package.json
105
-
106
- ## [1.0.1] - 2016-06-25
107
- ### Added
108
- - Add repository to package.json
109
- - Add error handling to Example App
110
- - iOS: Send current position at pause
111
-
112
- ### Changed
113
- - Move documentation from README.md to separate files within docs directory
114
- - Improve documentation
115
- - Restructure Player and Recorder into own source files
116
-
117
- ### Fixed
118
- - Android: Fix seeking, hide debug prints
119
- - Android: Fix stop bug
120
- - iOS: Fixed parsing of quality strings
121
-
122
- ## 1.0.0 - 2016-06-25
123
-
124
- Initial release.
125
-
126
-
127
- [2.0.3]: https://github.com/react-native-community/react-native-audio-toolkit/compare/f51bac3ee751e72f916abb657c2f594e870a36ac...HEAD
128
- [2.0.2]: https://github.com/react-native-community/react-native-audio-toolkit/compare/caa399431afdcb70a2aa73fe436cdf00e3ea92d0...f51bac3ee751e72f916abb657c2f594e870a36ac
129
- [2.0.1]: https://github.com/react-native-community/react-native-audio-toolkit/commit/caa399431afdcb70a2aa73fe436cdf00e3ea92d0
130
- [2.0.0]: https://github.com/react-native-community/react-native-audio-toolkit/compare/dc2f04a35f388016aa294bcc80e7f553d1988037...ed89597b2e319c9073f2156c81c48c7ff8a7993f
131
- [1.0.6]: https://github.com/react-native-community/react-native-audio-toolkit/compare/4746870166fe4beb9fbf075d45fab952de4558d6...dc2f04a35f388016aa294bcc80e7f553d1988037
132
- [1.0.5]: https://github.com/react-native-community/react-native-audio-toolkit/compare/6a2641ebc6b6177fa29ac81b694ea2dd64d5a2cd...4746870166fe4beb9fbf075d45fab952de4558d6
133
- [1.0.4]: https://github.com/react-native-community/react-native-audio-toolkit/compare/eba2326941e9b2f4405e832ce5af0a85bf6817ef...6a2641ebc6b6177fa29ac81b694ea2dd64d5a2cd
134
- [1.0.3]: https://github.com/react-native-community/react-native-audio-toolkit/compare/24dc361c950c2f4a919d557c4b2c7abecb28c6e8...eba2326941e9b2f4405e832ce5af0a85bf6817ef
135
- [1.0.2]: https://github.com/react-native-community/react-native-audio-toolkit/compare/3384ceff8bdf34904b09abb34602f8f4120bcb9e...24dc361c950c2f4a919d557c4b2c7abecb28c6e8
136
- [1.0.1]: https://github.com/react-native-community/react-native-audio-toolkit/compare/05523e1181ee0a8d41d0e4db9f192d2d48be2bb4...3384ceff8bdf34904b09abb34602f8f4120bcb9e
1
+ # v2.0.4-rc.2
2
+
3
+ ## 更新内容
4
+
5
+ * 修改组织名为@react-native-ohos
6
+ * 移除 codegenConfig 依赖,并将代码生成逻辑集成到库内部
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,22 +1,22 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2016-2019 Futurice
4
- Copyright (c) 2019+ React Native Community.
5
-
6
- Permission is hereby granted, free of charge, to any person obtaining a copy
7
- of this software and associated documentation files (the "Software"), to deal
8
- in the Software without restriction, including without limitation the rights
9
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
- copies of the Software, and to permit persons to whom the Software is
11
- furnished to do so, subject to the following conditions:
12
-
13
- The above copyright notice and this permission notice shall be included in all
14
- copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
- SOFTWARE.
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016-2019 Futurice
4
+ Copyright (c) 2019+ React Native Community.
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
@@ -1,18 +1,18 @@
1
- require "json"
2
-
3
- # NPM package specification
4
- package = JSON.parse(File.read(File.join(File.dirname(__FILE__), "package.json")))
5
-
6
- Pod::Spec.new do |s|
7
- s.name = "ReactNativeAudioToolkit"
8
- s.version = package["version"]
9
- s.summary = package["description"]
10
- s.homepage = package["homepage"]
11
- s.license = "MIT"
12
- s.author = { "Rasmus Eskola" => "fruitiex@gmail.com" }
13
- s.platforms = { :ios => "9.0", :tvos => "9.0" }
14
- s.source = { :git => package["repository"]["url"], :tag => "v#{s.version}" }
15
- s.source_files = "ios/**/*.{h,m}"
16
-
17
- s.dependency "React"
18
- end
1
+ require "json"
2
+
3
+ # NPM package specification
4
+ package = JSON.parse(File.read(File.join(File.dirname(__FILE__), "package.json")))
5
+
6
+ Pod::Spec.new do |s|
7
+ s.name = "ReactNativeAudioToolkit"
8
+ s.version = package["version"]
9
+ s.summary = package["description"]
10
+ s.homepage = package["homepage"]
11
+ s.license = "MIT"
12
+ s.author = { "Rasmus Eskola" => "fruitiex@gmail.com" }
13
+ s.platforms = { :ios => "9.0", :tvos => "9.0" }
14
+ s.source = { :git => package["repository"]["url"], :tag => "v#{s.version}" }
15
+ s.source_files = "ios/**/*.{h,m}"
16
+
17
+ s.dependency "React"
18
+ end
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2015-present, Facebook, Inc.
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
1
+ MIT License
2
+
3
+ Copyright (c) 2015-present, Facebook, Inc.
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
21
  SOFTWARE.
@@ -1,33 +1,33 @@
1
- OPEN SOURCE SOFTWARE NOTICE
2
-
3
- Please note we provide an open source software notice for the third party open source software along with this software and/or this software component (in the following just “this SOFTWARE”). The open source software licenses are granted by the respective right holders.
4
-
5
- Warranty Disclaimer
6
- THE OPEN SOURCE SOFTWARE IN THIS PRODUCT IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT WITHOUT ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSES FOR MORE DETAILS.
7
-
8
- Copyright Notice and License Texts
9
-
10
- ----------------------------------------------------------------------
11
- Software: @react-native-clipboard/clipboard V1.12.1
12
-
13
- MIT License
14
-
15
- Copyright (c) 2015-present, Facebook, Inc.
16
-
17
- Permission is hereby granted, free of charge, to any person obtaining a copy
18
- of this software and associated documentation files (the "Software"), to deal
19
- in the Software without restriction, including without limitation the rights
20
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
21
- copies of the Software, and to permit persons to whom the Software is
22
- furnished to do so, subject to the following conditions:
23
-
24
- The above copyright notice and this permission notice shall be included in all
25
- copies or substantial portions of the Software.
26
-
27
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
28
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
29
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
30
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
31
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
32
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1
+ OPEN SOURCE SOFTWARE NOTICE
2
+
3
+ Please note we provide an open source software notice for the third party open source software along with this software and/or this software component (in the following just “this SOFTWARE”). The open source software licenses are granted by the respective right holders.
4
+
5
+ Warranty Disclaimer
6
+ THE OPEN SOURCE SOFTWARE IN THIS PRODUCT IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT WITHOUT ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSES FOR MORE DETAILS.
7
+
8
+ Copyright Notice and License Texts
9
+
10
+ ----------------------------------------------------------------------
11
+ Software: @react-native-clipboard/clipboard V1.12.1
12
+
13
+ MIT License
14
+
15
+ Copyright (c) 2015-present, Facebook, Inc.
16
+
17
+ Permission is hereby granted, free of charge, to any person obtaining a copy
18
+ of this software and associated documentation files (the "Software"), to deal
19
+ in the Software without restriction, including without limitation the rights
20
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
21
+ copies of the Software, and to permit persons to whom the Software is
22
+ furnished to do so, subject to the following conditions:
23
+
24
+ The above copyright notice and this permission notice shall be included in all
25
+ copies or substantial portions of the Software.
26
+
27
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
28
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
29
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
30
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
31
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
32
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
33
33
  SOFTWARE.
@@ -1,38 +1,38 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <configuration>
3
- <oatconfig>
4
- <licensefile>LICENSE</licensefile>
5
- <filefilterlist>
6
- <filefilter name="copyrightPolicyFilter" desc="Filters for compatibility,license header policies">
7
- <filteritem type="filename" name="hvigorfile.ts" desc="hvigor构建脚本,DevEco Studio自动生成,不需要添加版权头"/>
8
- <filteritem type="filename" name="*.json5" desc="hvigor工程配置文件,DevEco Studio自动生成,不需要添加版权头"/>
9
- <filteritem type="filename" name="*.proto" desc="资源文件,不需要添加版权头"/>
10
- <filteritem type="filename" name="*.json" desc="资源文件,不需要添加版权头"/>
11
- <filteritem type="filepath" name="hvigorw" desc="工程模板,不修改版权头,以防有修改版权风险"/>
12
- <filteritem type="filepath" name="hvigorw.bat" desc="工程模板,不修改版权头,以防有修改版权风险"/>
13
- <filteritem type="filepath" name="hvigor/hvigor-wrapper.js" desc="工程模板,不修改版权头,以防有修改版权风险"/>
14
- <filteritem type="filename" name="LICENSE" desc="工程文件,不修改版权头"/>
15
- </filefilter>
16
- <filefilter name="defaultPolicyFilter" desc="Filters for compatibility,license header policies">
17
- <filteritem type="filename" name="hvigorfile.ts" desc="hvigor构建脚本,DevEco Studio自动生成,不需要添加许可证头"/>
18
- <filteritem type="filename" name="*.json5" desc="hvigor工程配置文件,DevEco Studio自动生成,不需要添加许可证头"/>
19
- <filteritem type="filename" name="LICENSE" desc="原三方库证书文件无需更改,因此添加过滤"/>
20
- <filteritem type="filename" name="*.proto" desc="资源文件,不需要添加许可证头"/>
21
- <filteritem type="filename" name="*.json" desc="资源文件,不需要添加许可证头"/>
22
- <filteritem type="filepath" name="hvigorw" desc="工程模板,不修改版权头,以防有修改版权风险"/>
23
- <filteritem type="filepath" name="hvigorw.bat" desc="工程模板,不修改版权头,以防有修改版权风险"/>
24
- <filteritem type="filepath" name="hvigor/hvigor-wrapper.js" desc="工程模板,不修改版权头,以防有修改版权风险"/>
25
- </filefilter>
26
- <filefilter name="binaryFileTypePolicyFilter" desc="Filters for resources files policies">
27
- <filteritem type="filename" name="icon.png" desc="应用图标"/>
28
- <filteritem type="filename" name="app_icon.png" desc="应用图标"/>
29
- <filteritem type="filename" name="warn.png" desc="页面展示图标"/>
30
- </filefilter>
31
- </filefilterlist>
32
- <policylist>
33
- <policy name="projectPolicy" desc="">
34
- <policyitem type="license" name="MIT" path="*.*" desc="license under the MIT"/>
35
- </policy>
36
- </policylist>
37
- </oatconfig>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <configuration>
3
+ <oatconfig>
4
+ <licensefile>LICENSE</licensefile>
5
+ <filefilterlist>
6
+ <filefilter name="copyrightPolicyFilter" desc="Filters for compatibility,license header policies">
7
+ <filteritem type="filename" name="hvigorfile.ts" desc="hvigor构建脚本,DevEco Studio自动生成,不需要添加版权头"/>
8
+ <filteritem type="filename" name="*.json5" desc="hvigor工程配置文件,DevEco Studio自动生成,不需要添加版权头"/>
9
+ <filteritem type="filename" name="*.proto" desc="资源文件,不需要添加版权头"/>
10
+ <filteritem type="filename" name="*.json" desc="资源文件,不需要添加版权头"/>
11
+ <filteritem type="filepath" name="hvigorw" desc="工程模板,不修改版权头,以防有修改版权风险"/>
12
+ <filteritem type="filepath" name="hvigorw.bat" desc="工程模板,不修改版权头,以防有修改版权风险"/>
13
+ <filteritem type="filepath" name="hvigor/hvigor-wrapper.js" desc="工程模板,不修改版权头,以防有修改版权风险"/>
14
+ <filteritem type="filename" name="LICENSE" desc="工程文件,不修改版权头"/>
15
+ </filefilter>
16
+ <filefilter name="defaultPolicyFilter" desc="Filters for compatibility,license header policies">
17
+ <filteritem type="filename" name="hvigorfile.ts" desc="hvigor构建脚本,DevEco Studio自动生成,不需要添加许可证头"/>
18
+ <filteritem type="filename" name="*.json5" desc="hvigor工程配置文件,DevEco Studio自动生成,不需要添加许可证头"/>
19
+ <filteritem type="filename" name="LICENSE" desc="原三方库证书文件无需更改,因此添加过滤"/>
20
+ <filteritem type="filename" name="*.proto" desc="资源文件,不需要添加许可证头"/>
21
+ <filteritem type="filename" name="*.json" desc="资源文件,不需要添加许可证头"/>
22
+ <filteritem type="filepath" name="hvigorw" desc="工程模板,不修改版权头,以防有修改版权风险"/>
23
+ <filteritem type="filepath" name="hvigorw.bat" desc="工程模板,不修改版权头,以防有修改版权风险"/>
24
+ <filteritem type="filepath" name="hvigor/hvigor-wrapper.js" desc="工程模板,不修改版权头,以防有修改版权风险"/>
25
+ </filefilter>
26
+ <filefilter name="binaryFileTypePolicyFilter" desc="Filters for resources files policies">
27
+ <filteritem type="filename" name="icon.png" desc="应用图标"/>
28
+ <filteritem type="filename" name="app_icon.png" desc="应用图标"/>
29
+ <filteritem type="filename" name="warn.png" desc="页面展示图标"/>
30
+ </filefilter>
31
+ </filefilterlist>
32
+ <policylist>
33
+ <policy name="projectPolicy" desc="">
34
+ <policyitem type="license" name="MIT" path="*.*" desc="license under the MIT"/>
35
+ </policy>
36
+ </policylist>
37
+ </oatconfig>
38
38
  </configuration>
@@ -1,11 +1,11 @@
1
- [
2
- {
3
- "Name": "@react-native-clipboard/clipboard",
4
- "License": "MIT License",
5
- "License File": "https://github.com/react-native-clipboard/clipboard/blob/master/LICENSE",
6
- "Version Number": "1.12.1",
7
- "Owner" : "M.Haris Baig <harisbaig100@gmail.com>"
8
- "Upstream URL": "https://github.com/react-native-clipboard/clipboard",
9
- "Description": "React Native Clipboard API for macOS, iOS, Android, and Windows."
10
- }
1
+ [
2
+ {
3
+ "Name": "@react-native-clipboard/clipboard",
4
+ "License": "MIT License",
5
+ "License File": "https://github.com/react-native-clipboard/clipboard/blob/master/LICENSE",
6
+ "Version Number": "1.12.1",
7
+ "Owner" : "M.Haris Baig <harisbaig100@gmail.com>"
8
+ "Upstream URL": "https://github.com/react-native-clipboard/clipboard",
9
+ "Description": "React Native Clipboard API for macOS, iOS, Android, and Windows."
10
+ }
11
11
  ]
@@ -1,17 +1,17 @@
1
- # react-native-audio-toolkit
2
-
3
- 本项目基于 [react-native-audio-toolkit](https://github.com/react-native-audio-toolkit/react-native-audio-toolkit)
4
-
5
- ## 文档地址 / Documentation URL
6
-
7
- [中文 / Chinese](https://gitee.com/react-native-oh-library/usage-docs/blob/master/zh-cn/react-native-audio-toolkit.md)
8
-
9
- ## Codegen
10
-
11
- 该库已接入 codegen,具体请查阅文档。
12
-
13
- The library has been integrated with codegen. Please refer to the documentation for details.
14
-
15
- ## 请悉知 / Acknowledgements
16
-
1
+ # react-native-audio-toolkit
2
+
3
+ 本项目基于 [react-native-audio-toolkit](https://github.com/react-native-audio-toolkit/react-native-audio-toolkit)
4
+
5
+ ## 文档地址 / Documentation URL
6
+
7
+ [中文 / Chinese](https://gitee.com/react-native-oh-library/usage-docs/blob/master/zh-cn/react-native-audio-toolkit.md)
8
+
9
+ ## Codegen
10
+
11
+ 该库已接入 codegen,具体请查阅文档。
12
+
13
+ The library has been integrated with codegen. Please refer to the documentation for details.
14
+
15
+ ## 请悉知 / Acknowledgements
16
+
17
17
  本项目基于 [The MIT License (MIT)](hhttps://github.com/react-native-audio-toolkit/react-native-audio-toolkit/blob/master/LICENSE) ,请自由地享受和参与开源。
@@ -1,8 +1,8 @@
1
- {
2
- "apiType": "stageMode",
3
- "targets": [
4
- {
5
- "name": "default",
6
- }
7
- ]
1
+ {
2
+ "apiType": "stageMode",
3
+ "targets": [
4
+ {
5
+ "name": "default",
6
+ }
7
+ ]
8
8
  }
@@ -1 +1 @@
1
- export { harTasks } from '@ohos/hvigor-ohos-plugin';
1
+ export { harTasks } from '@ohos/hvigor-ohos-plugin';
@@ -1,25 +1,25 @@
1
- /**
2
- * MIT License
3
- *
4
- * Copyright (C) 2023 Huawei Device Co., Ltd.
5
- *
6
- * Permission is hereby granted, free of charge, to any person obtaining a copy
7
- * of this software and associated documentation files (the "Software"), to deal
8
- * in the Software without restriction, including without limitation the rights
9
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
- * copies of the Software, and to permit persons to whom the Software is
11
- * furnished to do so, subject to the following conditions:
12
- *
13
- * The above copyright notice and this permission notice shall be included in all
14
- * copies or substantial portions of the Software.
15
- *
16
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
- * SOFTWARE.
23
- */
24
-
1
+ /**
2
+ * MIT License
3
+ *
4
+ * Copyright (C) 2023 Huawei Device Co., Ltd.
5
+ *
6
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ * of this software and associated documentation files (the "Software"), to deal
8
+ * in the Software without restriction, including without limitation the rights
9
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ * copies of the Software, and to permit persons to whom the Software is
11
+ * furnished to do so, subject to the following conditions:
12
+ *
13
+ * The above copyright notice and this permission notice shall be included in all
14
+ * copies or substantial portions of the Software.
15
+ *
16
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ * SOFTWARE.
23
+ */
24
+
25
25
  export * from './ts'
@@ -1,12 +1,12 @@
1
- {
2
- "license": "ISC",
3
- "types": "",
4
- "devDependencies": {},
5
- "name": "@react-native-ohos/audio-toolkit",
6
- "version": "2.1.0-rc.1",
7
- "description": "",
8
- "main": "index.ets",
9
- "dependencies": {
10
- "@rnoh/react-native-openharmony": "file:../libs/react_native_openharmony-5.0.0.490.har"
11
- }
12
- }
1
+ {
2
+ "license": "ISC",
3
+ "types": "",
4
+ "devDependencies": {},
5
+ "name": "@react-native-ohos/audio-toolkit",
6
+ "version": "2.1.0-rc.2",
7
+ "description": "",
8
+ "main": "index.ets",
9
+ "dependencies": {
10
+ "@rnoh/react-native-openharmony": "file:../libs/react_native_openharmony-5.0.0.490.har"
11
+ }
12
+ }