Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
ksyeo1010 committed Nov 23, 2023
1 parent 69cedc4 commit b7ce2f5
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion binding/react-native/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
google()
mavenCentral()
maven {
url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1299'
url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1303'
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ buildscript {
google()
mavenCentral()
maven {
url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1299'
url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1303'
}
}
dependencies {
Expand Down
2 changes: 1 addition & 1 deletion binding/react-native/test-app/LeopardTestApp/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ end

target 'LeopardTestApp' do
config = use_native_modules!
pod 'Leopard-iOS', :podspec => 'https://raw.githubusercontent.com/Picovoice/leopard/v2.0/binding/ios/Leopard-iOS.podspec'
pod 'Leopard-iOS', :podspec => 'https://raw.githubusercontent.com/Picovoice/leopard/v2.0-ios/binding/ios/Leopard-iOS.podspec'

# Flags change depending on the env values.
flags = get_default_flags()
Expand Down
2 changes: 1 addition & 1 deletion binding/react-native/test-app/LeopardTestApp/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1442,7 +1442,7 @@
fastq "^1.6.0"

"@picovoice/leopard-react-native@file:../..":
version "1.2.0"
version "2.0.0"

"@picovoice/react-native-voice-processor@^1.1.0":
version "1.1.0"
Expand Down
4 changes: 2 additions & 2 deletions demo/react-native/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ buildscript {
google()
jcenter()
maven {
url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1299'
url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1303'
}
}
dependencies {
Expand All @@ -37,7 +37,7 @@ allprojects {
jcenter()
maven { url 'https://www.jitpack.io' }
maven {
url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1299'
url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1303'
}
}
}
2 changes: 1 addition & 1 deletion demo/react-native/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ platform :ios, '13.0'

target 'LeopardDemo' do
config = use_native_modules!
pod 'Leopard-iOS', :podspec => 'https://raw.githubusercontent.com/Picovoice/leopard/v2.0/binding/ios/Leopard-iOS.podspec'
pod 'Leopard-iOS', :podspec => 'https://raw.githubusercontent.com/Picovoice/leopard/v2.0-ios/binding/ios/Leopard-iOS.podspec'
use_react_native!(:path => config["reactNativePath"])
end
2 changes: 1 addition & 1 deletion demo/react-native/scripts/run_demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const fs = require('fs');
const path = require('path');
const testData = require('../../../resources/.test/test_data.json');

const availableLanguages = testData.tests.parameters.map((x) => x.language);
const availableLanguages = testData.tests.language_tests.map((x) => x.language);

const commands = process.argv.slice(2, -1);
const language = process.argv.slice(-1)[0];
Expand Down

0 comments on commit b7ce2f5

Please sign in to comment.