Skip to content

Commit

Permalink
v2.1 react native release (#387)
Browse files Browse the repository at this point in the history
  • Loading branch information
ErisMik authored Dec 10, 2024
1 parent ba2db28 commit 48d7d1b
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 20 deletions.
3 changes: 0 additions & 3 deletions binding/react-native/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ buildscript {
repositories {
google()
mavenCentral()
maven {
url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1355/'
}
}

dependencies {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ buildscript {
repositories {
google()
mavenCentral()
maven {
url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1355/'
}
}
dependencies {
classpath("com.android.tools.build:gradle:7.3.1")
Expand All @@ -39,9 +36,6 @@ allprojects {

allprojects {
repositories {
maven {
url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1355/'
}
maven {
url("$rootDir/../node_modules/detox/Detox-android")
}
Expand Down
2 changes: 1 addition & 1 deletion binding/react-native/test-app/CheetahTestApp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"test": "jest"
},
"dependencies": {
"@picovoice/cheetah-react-native": "file:../..",
"@picovoice/cheetah-react-native": "=2.1.0",
"@picovoice/react-native-voice-processor": "1.2.3",
"base-64": "^1.0.0",
"react": "18.2.0",
Expand Down
6 changes: 4 additions & 2 deletions binding/react-native/test-app/CheetahTestApp/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1441,8 +1441,10 @@
"@nodelib/fs.scandir" "2.1.5"
fastq "^1.6.0"

"@picovoice/cheetah-react-native@file:../..":
version "2.0.2"
"@picovoice/cheetah-react-native@=2.1.0":
version "2.1.0"
resolved "https://registry.yarnpkg.com/@picovoice/cheetah-react-native/-/cheetah-react-native-2.1.0.tgz#ec0e49b3fb7ecc40ce80a8da68b59757e1616a07"
integrity sha512-yF62GbapMDP7T7MJqlYWDtdwWTakm1eRLUGdqYtVOzrUgRWiTdgJB4z7zkpAQoqQeVsXU6sj0JfPS44weQCndQ==

"@picovoice/[email protected]":
version "1.2.3"
Expand Down
6 changes: 0 additions & 6 deletions demo/react-native/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ buildscript {
repositories {
google()
jcenter()
maven {
url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1355/'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:7.4.2'
Expand All @@ -34,8 +31,5 @@ allprojects {
google()
jcenter()
maven { url 'https://www.jitpack.io' }
maven {
url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1355/'
}
}
}
2 changes: 1 addition & 1 deletion demo/react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"postinstall": "node copy.js"
},
"dependencies": {
"@picovoice/cheetah-react-native": "../../binding/react-native",
"@picovoice/cheetah-react-native": "=2.1.0",
"@picovoice/react-native-voice-processor": "1.2.3",
"@react-native-picker/picker": "^1.9.2",
"react": "^17.0.2",
Expand Down
4 changes: 3 additions & 1 deletion demo/react-native/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1090,8 +1090,10 @@
"@nodelib/fs.scandir" "2.1.5"
fastq "^1.6.0"

"@picovoice/cheetah-react-native@../../binding/react-native":
"@picovoice/cheetah-react-native@=2.1.0":
version "2.1.0"
resolved "https://registry.yarnpkg.com/@picovoice/cheetah-react-native/-/cheetah-react-native-2.1.0.tgz#ec0e49b3fb7ecc40ce80a8da68b59757e1616a07"
integrity sha512-yF62GbapMDP7T7MJqlYWDtdwWTakm1eRLUGdqYtVOzrUgRWiTdgJB4z7zkpAQoqQeVsXU6sj0JfPS44weQCndQ==

"@picovoice/[email protected]":
version "1.2.3"
Expand Down

0 comments on commit 48d7d1b

Please sign in to comment.