@independo/capacitor-voice-recorder 7.1.12-dev.1 → 8.0.0-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/IndependoCapacitorVoiceRecorder.podspec +2 -2
- package/README.md +5 -2
- package/android/build.gradle +11 -11
- package/dist/docs.json +1 -1
- package/package.json +11 -11
|
@@ -11,7 +11,7 @@ Pod::Spec.new do |s|
|
|
|
11
11
|
s.author = package['author']
|
|
12
12
|
s.source = { :git => package['repository']['url'], :tag => s.version.to_s }
|
|
13
13
|
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
|
|
14
|
-
s.ios.deployment_target = '
|
|
14
|
+
s.ios.deployment_target = '15.0'
|
|
15
15
|
s.dependency 'Capacitor'
|
|
16
|
-
s.swift_version = '5.
|
|
16
|
+
s.swift_version = '5.9'
|
|
17
17
|
end
|
package/README.md
CHANGED
|
@@ -20,6 +20,9 @@ npm install --save @independo/capacitor-voice-recorder
|
|
|
20
20
|
npx cap sync
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
+
## Requirements
|
|
24
|
+
|
|
25
|
+
- Android builds require Java 21 (recommended). `npm run verify:android` requires a Java version supported by the bundled Gradle wrapper (currently Java 21–24, with Java 21 recommended).
|
|
23
26
|
## Configuration
|
|
24
27
|
|
|
25
28
|
### Using with Android
|
|
@@ -241,7 +244,7 @@ Interface representing the current status of the voice recorder.
|
|
|
241
244
|
|
|
242
245
|
| Prop | Type | Description |
|
|
243
246
|
| ------------ | ---------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |
|
|
244
|
-
| **`status`** | <code>'
|
|
247
|
+
| **`status`** | <code>'NONE' \| 'RECORDING' \| 'PAUSED'</code> | The current status of the recorder, which can be one of the following values: 'RECORDING', 'PAUSED', 'NONE'. |
|
|
245
248
|
|
|
246
249
|
|
|
247
250
|
### Type Aliases
|
|
@@ -310,6 +313,7 @@ Versioning follows Capacitor versioning. Major versions of the plugin are compat
|
|
|
310
313
|
| 5.* | 5 |
|
|
311
314
|
| 6.* | 6 |
|
|
312
315
|
| 7.* | 7 |
|
|
316
|
+
| 8.* | 8 |
|
|
313
317
|
|
|
314
318
|
## Collaborators
|
|
315
319
|
|
|
@@ -317,4 +321,3 @@ Versioning follows Capacitor versioning. Major versions of the plugin are compat
|
|
|
317
321
|
|--------------------|-------------------------------------------------------------|-------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------|
|
|
318
322
|
| Avihu Harush | Original Author | [tchvu3](https://github.com/tchvu3) | [](https://www.buymeacoffee.com/tchvu3) |
|
|
319
323
|
| Konstantin Strümpf | Contributor for [Independo GmbH](https://www.independo.app) | [kstruempf](https://github.com/kstruempf) | |
|
|
320
|
-
|
package/android/build.gradle
CHANGED
|
@@ -11,30 +11,30 @@ buildscript {
|
|
|
11
11
|
mavenCentral()
|
|
12
12
|
}
|
|
13
13
|
dependencies {
|
|
14
|
-
classpath 'com.android.tools.build:gradle:8.
|
|
14
|
+
classpath 'com.android.tools.build:gradle:8.13.0'
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
apply plugin: 'com.android.library'
|
|
19
19
|
|
|
20
20
|
android {
|
|
21
|
-
namespace "com.tchvu3.capacitorvoicerecorder"
|
|
22
|
-
compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion :
|
|
21
|
+
namespace = "com.tchvu3.capacitorvoicerecorder"
|
|
22
|
+
compileSdk = project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 36
|
|
23
23
|
defaultConfig {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
versionCode 1
|
|
27
|
-
versionName "1.0"
|
|
28
|
-
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
24
|
+
minSdk = project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 24
|
|
25
|
+
targetSdk = project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 36
|
|
26
|
+
versionCode = 1
|
|
27
|
+
versionName = "1.0"
|
|
28
|
+
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
29
29
|
}
|
|
30
30
|
buildTypes {
|
|
31
31
|
release {
|
|
32
|
-
minifyEnabled false
|
|
32
|
+
minifyEnabled = false
|
|
33
33
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
|
|
37
|
-
abortOnError false
|
|
36
|
+
lint {
|
|
37
|
+
abortOnError = false
|
|
38
38
|
}
|
|
39
39
|
compileOptions {
|
|
40
40
|
sourceCompatibility JavaVersion.VERSION_21
|
package/dist/docs.json
CHANGED
|
@@ -264,7 +264,7 @@
|
|
|
264
264
|
"tags": [],
|
|
265
265
|
"docs": "The current status of the recorder, which can be one of the following values: 'RECORDING', 'PAUSED', 'NONE'.",
|
|
266
266
|
"complexTypes": [],
|
|
267
|
-
"type": "'
|
|
267
|
+
"type": "'NONE' | 'RECORDING' | 'PAUSED'"
|
|
268
268
|
}
|
|
269
269
|
]
|
|
270
270
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@independo/capacitor-voice-recorder",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0-dev.1",
|
|
4
4
|
"description": "Capacitor plugin for voice recording",
|
|
5
5
|
"main": "dist/plugin.cjs.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"scripts": {
|
|
51
51
|
"verify": "npm run verify:ios && npm run verify:android && npm run verify:web",
|
|
52
52
|
"verify:ios": "cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..",
|
|
53
|
-
"verify:android": "
|
|
53
|
+
"verify:android": "node scripts/verify-android.js",
|
|
54
54
|
"verify:web": "npm run build",
|
|
55
55
|
"lint": "npm run eslint",
|
|
56
56
|
"fmt": "npm run eslint -- --fix",
|
|
@@ -68,10 +68,10 @@
|
|
|
68
68
|
"capacitor-blob-writer": "^1.1.19"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
-
"@capacitor/android": "^
|
|
72
|
-
"@capacitor/core": "^
|
|
73
|
-
"@capacitor/docgen": "^0.3.
|
|
74
|
-
"@capacitor/ios": "^
|
|
71
|
+
"@capacitor/android": "^8.0.0",
|
|
72
|
+
"@capacitor/core": "^8.0.0",
|
|
73
|
+
"@capacitor/docgen": "^0.3.1",
|
|
74
|
+
"@capacitor/ios": "^8.0.0",
|
|
75
75
|
"@ionic/eslint-config": "^0.4.0",
|
|
76
76
|
"@ionic/prettier-config": "^4.0.0",
|
|
77
77
|
"@ionic/swiftlint-config": "^2.0.0",
|
|
@@ -79,22 +79,22 @@
|
|
|
79
79
|
"@semantic-release/changelog": "^6.0.3",
|
|
80
80
|
"@semantic-release/git": "^10.0.1",
|
|
81
81
|
"@types/jest": "^30.0.0",
|
|
82
|
-
"@types/node": "^
|
|
82
|
+
"@types/node": "^25.0.3",
|
|
83
83
|
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
84
84
|
"@typescript-eslint/parser": "^5.62.0",
|
|
85
85
|
"conventional-changelog-conventionalcommits": "^9.1.0",
|
|
86
86
|
"eslint": "^8.57.0",
|
|
87
87
|
"jest": "^30.2.0",
|
|
88
88
|
"jest-environment-jsdom": "^30.2.0",
|
|
89
|
-
"rollup": "^4.53.
|
|
89
|
+
"rollup": "^4.53.5",
|
|
90
90
|
"semantic-release": "^25.0.2",
|
|
91
91
|
"swiftlint": "^2.0.0",
|
|
92
|
-
"ts-jest": "^29.4.
|
|
92
|
+
"ts-jest": "^29.4.6",
|
|
93
93
|
"typescript": "^5.9.3"
|
|
94
94
|
},
|
|
95
95
|
"peerDependencies": {
|
|
96
|
-
"@capacitor/core": ">=
|
|
97
|
-
"@capacitor/filesystem": ">=
|
|
96
|
+
"@capacitor/core": ">=8.0.0",
|
|
97
|
+
"@capacitor/filesystem": ">=8.0.0"
|
|
98
98
|
},
|
|
99
99
|
"prettier": "@ionic/prettier-config",
|
|
100
100
|
"swiftlint": "@ionic/swiftlint-config",
|