@independo/capacitor-voice-recorder 5.0.0 → 5.0.1-dev.1
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/README.md +20 -20
- package/package.json +10 -1
package/README.md
CHANGED
|
@@ -2,34 +2,32 @@
|
|
|
2
2
|
<img src="https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png" width="128" height="128" />
|
|
3
3
|
</p>
|
|
4
4
|
<h3 align="center">Capacitor Voice Recorder</h3>
|
|
5
|
-
<p align="center"><strong><code
|
|
6
|
-
<p align="center">Capacitor plugin for
|
|
5
|
+
<p align="center"><strong><code>@independo/capacitor-voice-recorder</code></strong></p>
|
|
6
|
+
<p align="center">Capacitor plugin for audio recording</p>
|
|
7
7
|
|
|
8
8
|
<p align="center">
|
|
9
|
-
<img src="https://img.shields.io/maintenance/yes/
|
|
10
|
-
<a href="https://www.npmjs.com/package/capacitor-voice-recorder"><img src="https://img.shields.io/npm/l/capacitor-voice-recorder" /></a>
|
|
9
|
+
<img src="https://img.shields.io/maintenance/yes/2024" />
|
|
10
|
+
<a href="https://www.npmjs.com/package/@independo/capacitor-voice-recorder"><img src="https://img.shields.io/npm/l/@independo/capacitor-voice-recorder" /></a>
|
|
11
11
|
<br>
|
|
12
|
-
<a href="https://www.npmjs.com/package/capacitor-voice-recorder"><img src="https://img.shields.io/npm/dw/capacitor-voice-recorder" /></a>
|
|
13
|
-
<a href="https://www.npmjs.com/package/capacitor-voice-recorder"><img src="https://img.shields.io/npm/v/capacitor-voice-recorder" /></a>
|
|
12
|
+
<a href="https://www.npmjs.com/package/@independo/capacitor-voice-recorder"><img src="https://img.shields.io/npm/dw/@independo/capacitor-voice-recorder" /></a>
|
|
13
|
+
<a href="https://www.npmjs.com/package/@independo/capacitor-voice-recorder"><img src="https://img.shields.io/npm/v/@independo/capacitor-voice-recorder" /></a>
|
|
14
14
|
</p>
|
|
15
15
|
|
|
16
|
-
## Maintainers
|
|
17
|
-
|
|
18
|
-
| Maintainer | GitHub |
|
|
19
|
-
|--------------|-------------------------------------|
|
|
20
|
-
| Avihu Harush | [tchvu3](https://github.com/tchvu3) |
|
|
21
|
-
|
|
22
16
|
## Installation
|
|
23
17
|
|
|
24
18
|
```
|
|
25
|
-
npm install --save capacitor-voice-recorder
|
|
19
|
+
npm install --save @independo/capacitor-voice-recorder
|
|
26
20
|
npx cap sync
|
|
27
21
|
```
|
|
28
22
|
|
|
29
|
-
####
|
|
23
|
+
#### Using with iOS
|
|
30
24
|
|
|
31
|
-
|
|
32
|
-
|
|
25
|
+
Add the following to your `Info.plist`:
|
|
26
|
+
|
|
27
|
+
```xml
|
|
28
|
+
<key>NSMicrophoneUsageDescription</key>
|
|
29
|
+
<string>This app uses the microphone to record audio.</string>
|
|
30
|
+
```
|
|
33
31
|
|
|
34
32
|
## Configuration
|
|
35
33
|
|
|
@@ -50,7 +48,7 @@ No configuration required for this plugin.
|
|
|
50
48
|
|
|
51
49
|
## Overview
|
|
52
50
|
|
|
53
|
-
The
|
|
51
|
+
The `@independo/capacitor-voice-recorder` plugin allows you to record audio on Android, iOS, and Web platforms. Below is a summary
|
|
54
52
|
of the key methods and how to use them.
|
|
55
53
|
|
|
56
54
|
### Checking Device Capabilities and Permissions
|
|
@@ -225,8 +223,10 @@ audioRef.oncanplaythrough = () => audioRef.play()
|
|
|
225
223
|
audioRef.load()
|
|
226
224
|
```
|
|
227
225
|
|
|
228
|
-
##
|
|
226
|
+
## Collaborators
|
|
229
227
|
|
|
230
|
-
|
|
228
|
+
| Collaborators | | GitHub | Donation |
|
|
229
|
+
|--------------------|-------------------------------------------------------------|-------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------|
|
|
230
|
+
| Avihu Harush | Original Author | [tchvu3](https://github.com/tchvu3) | [](https://www.buymeacoffee.com/tchvu3) |
|
|
231
|
+
| Konstantin Strümpf | Contributor for [Independo GmbH](https://www.independo.app) | [kstruempf](https://github.com/kstruempf) | |
|
|
231
232
|
|
|
232
|
-
[](https://www.buymeacoffee.com/tchvu3)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@independo/capacitor-voice-recorder",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.1-dev.1",
|
|
4
4
|
"description": "Capacitor plugin for voice recording",
|
|
5
5
|
"main": "dist/plugin.cjs.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -31,6 +31,10 @@
|
|
|
31
31
|
"bugs": {
|
|
32
32
|
"url": "https://github.com/independo-gmbh/capacitor-voice-recorder/issues"
|
|
33
33
|
},
|
|
34
|
+
"publishConfig": {
|
|
35
|
+
"provenance": true,
|
|
36
|
+
"access": "public"
|
|
37
|
+
},
|
|
34
38
|
"keywords": [
|
|
35
39
|
"capacitor",
|
|
36
40
|
"plugin",
|
|
@@ -69,12 +73,17 @@
|
|
|
69
73
|
"@ionic/eslint-config": "^0.3.0",
|
|
70
74
|
"@ionic/prettier-config": "^3.0.0",
|
|
71
75
|
"@ionic/swiftlint-config": "^1.1.2",
|
|
76
|
+
"@saithodev/semantic-release-backmerge": "^4.0.1",
|
|
77
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
78
|
+
"@semantic-release/git": "^10.0.1",
|
|
72
79
|
"@typescript-eslint/eslint-plugin": "^5.59.5",
|
|
80
|
+
"conventional-changelog-conventionalcommits": "^8.0.0",
|
|
73
81
|
"eslint": "^8.40.0",
|
|
74
82
|
"prettier": "~2.8.8",
|
|
75
83
|
"prettier-plugin-java": "~2.1.0",
|
|
76
84
|
"rimraf": "^5.0.0",
|
|
77
85
|
"rollup": "^3.21.7",
|
|
86
|
+
"semantic-release": "^24.0.0",
|
|
78
87
|
"swiftlint": "^1.0.2",
|
|
79
88
|
"typescript": "<4.5.0"
|
|
80
89
|
},
|