@stream-io/noise-cancellation-react-native 0.2.2 → 0.2.4
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/CHANGELOG.md +12 -0
- package/android/build.gradle +61 -50
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [0.2.4](https://github.com/GetStream/stream-video-js/compare/@stream-io/noise-cancellation-react-native-0.2.3...@stream-io/noise-cancellation-react-native-0.2.4) (2025-09-18)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- noise cancellation snapshot url ([#1925](https://github.com/GetStream/stream-video-js/issues/1925)) ([7bdf589](https://github.com/GetStream/stream-video-js/commit/7bdf589e079f8d3f2836999781dbfa57be96cfa3))
|
|
10
|
+
|
|
11
|
+
## [0.2.3](https://github.com/GetStream/stream-video-js/compare/@stream-io/noise-cancellation-react-native-0.2.2...@stream-io/noise-cancellation-react-native-0.2.3) (2025-09-05)
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
- update webrtc peer dep to 125.4.3 ([#1908](https://github.com/GetStream/stream-video-js/issues/1908)) ([24b2f95](https://github.com/GetStream/stream-video-js/commit/24b2f958f4430212116ddd78800a1ea71adbea4d))
|
|
16
|
+
|
|
5
17
|
## [0.2.2](https://github.com/GetStream/stream-video-js/compare/@stream-io/noise-cancellation-react-native-0.2.1...@stream-io/noise-cancellation-react-native-0.2.2) (2025-08-21)
|
|
6
18
|
|
|
7
19
|
### Bug Fixes
|
package/android/build.gradle
CHANGED
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
buildscript {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
2
|
+
ext.getExtOrDefault = { name -> return rootProject.ext.has(name) ? rootProject.ext.get(name) : project.properties['NoiseCancellationReactNative_' + name]
|
|
3
|
+
}
|
|
5
4
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
5
|
+
repositories {
|
|
6
|
+
google()
|
|
7
|
+
mavenCentral()
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
dependencies {
|
|
11
|
+
classpath("com.android.tools.build:gradle:7.3.1")
|
|
12
|
+
// noinspection DifferentKotlinGradleVersion
|
|
13
|
+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${getExtOrDefault('kotlinVersion')}"
|
|
14
|
+
}
|
|
17
15
|
}
|
|
18
16
|
|
|
19
17
|
|
|
@@ -22,55 +20,68 @@ apply plugin: "kotlin-android"
|
|
|
22
20
|
|
|
23
21
|
|
|
24
22
|
def getExtOrIntegerDefault(name) {
|
|
25
|
-
|
|
23
|
+
return rootProject.ext.has(name) ? rootProject.ext.get(name) : (project.properties["NoiseCancellationReactNative_" + name]).toInteger()
|
|
26
24
|
}
|
|
27
25
|
|
|
28
26
|
def supportsNamespace() {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
27
|
+
def parsed = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION.tokenize('.')
|
|
28
|
+
def major = parsed[0].toInteger()
|
|
29
|
+
def minor = parsed[1].toInteger()
|
|
32
30
|
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
// Namespace support was added in 7.3.0
|
|
32
|
+
return (major == 7 && minor >= 3) || major >= 8
|
|
35
33
|
}
|
|
36
34
|
|
|
37
35
|
android {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
36
|
+
if (supportsNamespace()) {
|
|
37
|
+
namespace "io.getstream.rn.noisecancellation"
|
|
38
|
+
|
|
39
|
+
sourceSets {
|
|
40
|
+
main {
|
|
41
|
+
manifest.srcFile "src/main/AndroidManifestNew.xml"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
45
44
|
}
|
|
46
|
-
}
|
|
47
45
|
|
|
48
|
-
|
|
46
|
+
compileSdkVersion getExtOrIntegerDefault("compileSdkVersion")
|
|
49
47
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
48
|
+
defaultConfig {
|
|
49
|
+
minSdkVersion getExtOrIntegerDefault("minSdkVersion")
|
|
50
|
+
targetSdkVersion getExtOrIntegerDefault("targetSdkVersion")
|
|
51
|
+
}
|
|
54
52
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
53
|
+
buildTypes {
|
|
54
|
+
release {
|
|
55
|
+
minifyEnabled false
|
|
56
|
+
}
|
|
58
57
|
}
|
|
59
|
-
}
|
|
60
58
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
59
|
+
lintOptions {
|
|
60
|
+
disable "GradleCompatible"
|
|
61
|
+
}
|
|
64
62
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
63
|
+
compileOptions {
|
|
64
|
+
sourceCompatibility JavaVersion.VERSION_1_8
|
|
65
|
+
targetCompatibility JavaVersion.VERSION_1_8
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
rootProject.allprojects {
|
|
70
|
+
repositories {
|
|
71
|
+
maven {
|
|
72
|
+
name = 'Central Portal Snapshots'
|
|
73
|
+
url = 'https://central.sonatype.com/repository/maven-snapshots/'
|
|
74
|
+
content {
|
|
75
|
+
// This efficiently tells Gradle to only look for this specific dependency in this repository
|
|
76
|
+
includeModule('io.getstream', 'stream-video-android-noise-cancellation')
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
69
80
|
}
|
|
70
81
|
|
|
71
82
|
repositories {
|
|
72
|
-
|
|
73
|
-
|
|
83
|
+
mavenCentral()
|
|
84
|
+
google()
|
|
74
85
|
}
|
|
75
86
|
|
|
76
87
|
def kotlin_version = getExtOrDefault("kotlinVersion")
|
|
@@ -82,9 +93,9 @@ println "Using targetSdkVersion: ${getExtOrIntegerDefault("targetSdkVersion")}"
|
|
|
82
93
|
|
|
83
94
|
|
|
84
95
|
dependencies {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
96
|
+
implementation "com.facebook.react:react-native:+"
|
|
97
|
+
implementation 'io.getstream:stream-video-android-noise-cancellation:1.0.2.1-SNAPSHOT'
|
|
98
|
+
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
99
|
+
implementation project(':stream-io_react-native-webrtc')
|
|
89
100
|
}
|
|
90
101
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stream-io/noise-cancellation-react-native",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"description": "Noise cancellation for the Stream React Native Video SDK",
|
|
5
5
|
"main": "dist/commonjs/index.js",
|
|
6
6
|
"module": "dist/module/index.js",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
},
|
|
48
48
|
"homepage": "https://github.com/GetStream/stream-video-js#readme",
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@stream-io/react-native-webrtc": "125.4.
|
|
50
|
+
"@stream-io/react-native-webrtc": "125.4.3",
|
|
51
51
|
"react-native": "^0.79.2",
|
|
52
52
|
"react-native-builder-bob": "^0.37.0",
|
|
53
53
|
"rimraf": "^6.0.1",
|