diff --git a/demo/react-native-clock/android/build.gradle b/demo/react-native-clock/android/build.gradle index 5cf22afe2..3ff5bd881 100644 --- a/demo/react-native-clock/android/build.gradle +++ b/demo/react-native-clock/android/build.gradle @@ -10,15 +10,6 @@ buildscript { repositories { google() jcenter() - maven { - url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1266/' - } - maven { - url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1267/' - } - maven { - url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1269/' - } } dependencies { classpath("com.android.tools.build:gradle:4.1.3") @@ -42,14 +33,5 @@ allprojects { google() jcenter() maven { url 'https://www.jitpack.io' } - maven { - url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1266/' - } - maven { - url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1267/' - } - maven { - url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1269/' - } } } diff --git a/demo/react-native-clock/ios/Podfile b/demo/react-native-clock/ios/Podfile index d9ba809a9..50296117d 100644 --- a/demo/react-native-clock/ios/Podfile +++ b/demo/react-native-clock/ios/Podfile @@ -4,9 +4,6 @@ require_relative '../node_modules/@react-native-community/cli-platform-ios/nativ platform :ios, '11.0' target 'ReactNativeClock' do - pod 'Porcupine-iOS', :podspec => 'https://raw.githubusercontent.com/Picovoice/porcupine/v3.0/binding/ios/Porcupine-iOS.podspec' - pod 'Rhino-iOS', :podspec => 'https://raw.githubusercontent.com/Picovoice/rhino/v3.0/binding/ios/Rhino-iOS.podspec' - pod 'Picovoice-iOS', :podspec => 'https://raw.githubusercontent.com/Picovoice/picovoice/v3.0/sdk/ios/Picovoice-iOS.podspec' config = use_native_modules! use_react_native!(:path => config["reactNativePath"]) end diff --git a/demo/react-native-clock/ios/Podfile.lock b/demo/react-native-clock/ios/Podfile.lock index 6444045a3..1e949151b 100644 --- a/demo/react-native-clock/ios/Podfile.lock +++ b/demo/react-native-clock/ios/Podfile.lock @@ -12,10 +12,6 @@ PODS: - fmt (6.2.1) - glog (0.3.5) - ios-voice-processor (1.1.0) - - Picovoice-iOS (3.0.0): - - ios-voice-processor (~> 1.1.0) - - Porcupine-iOS (~> 3.0.0) - - Rhino-iOS (~> 3.0.0) - Porcupine-iOS (3.0.0): - ios-voice-processor (~> 1.1.0) - porcupine-react-native (3.0.0): @@ -313,8 +309,6 @@ DEPENDENCIES: - FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`) - FBReactNativeSpec (from `../node_modules/react-native/React/FBReactNativeSpec`) - glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`) - - Picovoice-iOS (from `https://raw.githubusercontent.com/Picovoice/picovoice/v3.0/sdk/ios/Picovoice-iOS.podspec`) - - Porcupine-iOS (from `https://raw.githubusercontent.com/Picovoice/porcupine/v3.0/binding/ios/Porcupine-iOS.podspec`) - "porcupine-react-native (from `../node_modules/@picovoice/porcupine-react-native`)" - RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`) - RCTRequired (from `../node_modules/react-native/Libraries/RCTRequired`) @@ -345,7 +339,6 @@ DEPENDENCIES: - React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`) - React-runtimeexecutor (from `../node_modules/react-native/ReactCommon/runtimeexecutor`) - ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`) - - Rhino-iOS (from `https://raw.githubusercontent.com/Picovoice/rhino/v3.0/binding/ios/Rhino-iOS.podspec`) - "rhino-react-native (from `../node_modules/@picovoice/rhino-react-native`)" - RNVectorIcons (from `../node_modules/react-native-vector-icons`) - Yoga (from `../node_modules/react-native/ReactCommon/yoga`) @@ -354,6 +347,8 @@ SPEC REPOS: trunk: - fmt - ios-voice-processor + - Porcupine-iOS + - Rhino-iOS EXTERNAL SOURCES: boost: @@ -366,10 +361,6 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native/React/FBReactNativeSpec" glog: :podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec" - Picovoice-iOS: - :podspec: https://raw.githubusercontent.com/Picovoice/picovoice/v3.0/sdk/ios/Picovoice-iOS.podspec - Porcupine-iOS: - :podspec: https://raw.githubusercontent.com/Picovoice/porcupine/v3.0/binding/ios/Porcupine-iOS.podspec porcupine-react-native: :path: "../node_modules/@picovoice/porcupine-react-native" RCT-Folly: @@ -426,8 +417,6 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native/ReactCommon/runtimeexecutor" ReactCommon: :path: "../node_modules/react-native/ReactCommon" - Rhino-iOS: - :podspec: https://raw.githubusercontent.com/Picovoice/rhino/v3.0/binding/ios/Rhino-iOS.podspec rhino-react-native: :path: "../node_modules/@picovoice/rhino-react-native" RNVectorIcons: @@ -443,7 +432,6 @@ SPEC CHECKSUMS: fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9 glog: 476ee3e89abb49e07f822b48323c51c57124b572 ios-voice-processor: 8e32d7f980a06d392d128ef1cd19cf6ddcaca3c1 - Picovoice-iOS: a1aefe4fbc54bb698dd1663d7dee6a5bef9f1c5c Porcupine-iOS: 517158e02ac294dda15b713a3c6f74a9e877090c porcupine-react-native: e74ff3c50f8a1ec956b8aa7a8797821b0f9e8b85 RCT-Folly: 4d8508a426467c48885f1151029bc15fa5d7b3b8 @@ -478,6 +466,6 @@ SPEC CHECKSUMS: RNVectorIcons: 31cebfcf94e8cf8686eb5303ae0357da64d7a5a4 Yoga: 0bc4b37c3b8a345336ff601e2cf7d9704bab7e93 -PODFILE CHECKSUM: a8ffe61557bed353d1bb1d2fce8cf2a5e6a49b6f +PODFILE CHECKSUM: f1735c3d5e715cf7947e3ba5b5a427084f14548f COCOAPODS: 1.11.3 diff --git a/demo/react-native-clock/package.json b/demo/react-native-clock/package.json index 96a27d81f..68fd0ce60 100644 --- a/demo/react-native-clock/package.json +++ b/demo/react-native-clock/package.json @@ -14,7 +14,10 @@ "ios-bundle": "react-native bundle --dev false --platform ios --entry-file index.js --bundle-output ios/app.jsbundle" }, "dependencies": { + "@picovoice/picovoice-react-native": "^3.0.0", + "@picovoice/porcupine-react-native": "^3.0.0", "@picovoice/react-native-voice-processor": "^1.2.0", + "@picovoice/rhino-react-native": "^3.0.0", "moment": "^2.29.1", "prettier": "^2.8.0", "react": "^17.0.2", diff --git a/demo/react-native-clock/yarn.lock b/demo/react-native-clock/yarn.lock index b37a4f17b..3be952057 100644 --- a/demo/react-native-clock/yarn.lock +++ b/demo/react-native-clock/yarn.lock @@ -866,11 +866,26 @@ "@jridgewell/resolve-uri" "^3.1.0" "@jridgewell/sourcemap-codec" "^1.4.14" +"@picovoice/picovoice-react-native@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@picovoice/picovoice-react-native/-/picovoice-react-native-3.0.0.tgz#97fece58243b2bec83a521cfdc17c25b47f44b45" + integrity sha512-XdOB+ShXWqsFxIvr1FlVUgKzAZaQymDobGs2lrerKmqL/117CqYMCwqdH66IB7iujBE0QREWhg5BWdoulZ09gg== + +"@picovoice/porcupine-react-native@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@picovoice/porcupine-react-native/-/porcupine-react-native-3.0.0.tgz#f9e670d317b42de53984338d86350ffd1d2ac6a0" + integrity sha512-sMw4UwwzCnWyXpqlRYTiWaPlLoHoK/RqW4t+wUBAg8GxAlSD9JkRv6hWc1B5i2FPqWD0Txqm7nFDoDL6EEvNsw== + "@picovoice/react-native-voice-processor@^1.2.0": version "1.2.0" resolved "https://registry.yarnpkg.com/@picovoice/react-native-voice-processor/-/react-native-voice-processor-1.2.0.tgz#82a98b41d9236ababe330dae873062ee0e1b24c3" integrity sha512-zolTEo3qsqeUwY7JRslV/yhiA+oBrkeogOTxjHIEJ//yEsr7YKlI1PcqTbU5/xjmUiukh62gmwTXhosnQYdasQ== +"@picovoice/rhino-react-native@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@picovoice/rhino-react-native/-/rhino-react-native-3.0.0.tgz#0f73d3f493cc4e3e73138bfd946c9cacb9859339" + integrity sha512-2oSsn8/8hLo4ke2vHg9gF7e4CNDKorgdbh+gVudfiq7eiiZhgt7KL+vj0/a4V5N2maozAHMPvrog6ecAOddgiw== + "@react-native-community/cli-debugger-ui@^7.0.3": version "7.0.3" resolved "https://registry.yarnpkg.com/@react-native-community/cli-debugger-ui/-/cli-debugger-ui-7.0.3.tgz#3eeeacc5a43513cbcae56e5e965d77726361bcb4" diff --git a/demo/react-native/android/build.gradle b/demo/react-native/android/build.gradle index 5cf22afe2..3ff5bd881 100644 --- a/demo/react-native/android/build.gradle +++ b/demo/react-native/android/build.gradle @@ -10,15 +10,6 @@ buildscript { repositories { google() jcenter() - maven { - url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1266/' - } - maven { - url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1267/' - } - maven { - url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1269/' - } } dependencies { classpath("com.android.tools.build:gradle:4.1.3") @@ -42,14 +33,5 @@ allprojects { google() jcenter() maven { url 'https://www.jitpack.io' } - maven { - url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1266/' - } - maven { - url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1267/' - } - maven { - url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1269/' - } } } diff --git a/demo/react-native/ios/Podfile b/demo/react-native/ios/Podfile index 0e4415de2..7deab3232 100644 --- a/demo/react-native/ios/Podfile +++ b/demo/react-native/ios/Podfile @@ -4,9 +4,6 @@ require_relative '../node_modules/@react-native-community/cli-platform-ios/nativ platform :ios, '11.0' target 'PicovoiceDemo' do - pod 'Porcupine-iOS', :podspec => 'https://raw.githubusercontent.com/Picovoice/porcupine/v3.0/binding/ios/Porcupine-iOS.podspec' - pod 'Rhino-iOS', :podspec => 'https://raw.githubusercontent.com/Picovoice/rhino/v3.0/binding/ios/Rhino-iOS.podspec' - pod 'Picovoice-iOS', :podspec => 'https://raw.githubusercontent.com/Picovoice/picovoice/v3.0/sdk/ios/Picovoice-iOS.podspec' config = use_native_modules! use_react_native!(:path => config["reactNativePath"]) end diff --git a/demo/react-native/ios/Podfile.lock b/demo/react-native/ios/Podfile.lock index 472c83197..578681eb0 100644 --- a/demo/react-native/ios/Podfile.lock +++ b/demo/react-native/ios/Podfile.lock @@ -12,10 +12,6 @@ PODS: - fmt (6.2.1) - glog (0.3.5) - ios-voice-processor (1.1.0) - - Picovoice-iOS (3.0.0): - - ios-voice-processor (~> 1.1.0) - - Porcupine-iOS (~> 3.0.0) - - Rhino-iOS (~> 3.0.0) - Porcupine-iOS (3.0.0): - ios-voice-processor (~> 1.1.0) - porcupine-react-native (3.0.0): @@ -309,8 +305,6 @@ DEPENDENCIES: - FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`) - FBReactNativeSpec (from `../node_modules/react-native/React/FBReactNativeSpec`) - glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`) - - Picovoice-iOS (from `https://raw.githubusercontent.com/Picovoice/picovoice/v3.0/sdk/ios/Picovoice-iOS.podspec`) - - Porcupine-iOS (from `https://raw.githubusercontent.com/Picovoice/porcupine/v3.0/binding/ios/Porcupine-iOS.podspec`) - "porcupine-react-native (from `../node_modules/@picovoice/porcupine-react-native`)" - RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`) - RCTRequired (from `../node_modules/react-native/Libraries/RCTRequired`) @@ -340,7 +334,6 @@ DEPENDENCIES: - React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`) - React-runtimeexecutor (from `../node_modules/react-native/ReactCommon/runtimeexecutor`) - ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`) - - Rhino-iOS (from `https://raw.githubusercontent.com/Picovoice/rhino/v3.0/binding/ios/Rhino-iOS.podspec`) - "rhino-react-native (from `../node_modules/@picovoice/rhino-react-native`)" - Yoga (from `../node_modules/react-native/ReactCommon/yoga`) @@ -348,6 +341,8 @@ SPEC REPOS: trunk: - fmt - ios-voice-processor + - Porcupine-iOS + - Rhino-iOS EXTERNAL SOURCES: boost: @@ -360,10 +355,6 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native/React/FBReactNativeSpec" glog: :podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec" - Picovoice-iOS: - :podspec: https://raw.githubusercontent.com/Picovoice/picovoice/v3.0/sdk/ios/Picovoice-iOS.podspec - Porcupine-iOS: - :podspec: https://raw.githubusercontent.com/Picovoice/porcupine/v3.0/binding/ios/Porcupine-iOS.podspec porcupine-react-native: :path: "../node_modules/@picovoice/porcupine-react-native" RCT-Folly: @@ -418,8 +409,6 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native/ReactCommon/runtimeexecutor" ReactCommon: :path: "../node_modules/react-native/ReactCommon" - Rhino-iOS: - :podspec: https://raw.githubusercontent.com/Picovoice/rhino/v3.0/binding/ios/Rhino-iOS.podspec rhino-react-native: :path: "../node_modules/@picovoice/rhino-react-native" Yoga: @@ -433,7 +422,6 @@ SPEC CHECKSUMS: fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9 glog: 476ee3e89abb49e07f822b48323c51c57124b572 ios-voice-processor: 8e32d7f980a06d392d128ef1cd19cf6ddcaca3c1 - Picovoice-iOS: a1aefe4fbc54bb698dd1663d7dee6a5bef9f1c5c Porcupine-iOS: 517158e02ac294dda15b713a3c6f74a9e877090c porcupine-react-native: e74ff3c50f8a1ec956b8aa7a8797821b0f9e8b85 RCT-Folly: 4d8508a426467c48885f1151029bc15fa5d7b3b8 @@ -466,6 +454,6 @@ SPEC CHECKSUMS: rhino-react-native: 3954bad7e47e21256a0874999cbb0d2acf599186 Yoga: 0bc4b37c3b8a345336ff601e2cf7d9704bab7e93 -PODFILE CHECKSUM: 094af1bc294da677b11ba21e1696e544ed6b039a +PODFILE CHECKSUM: 01013a1f5997e930862476da5284b4ac9e764646 COCOAPODS: 1.11.3 diff --git a/demo/react-native/package.json b/demo/react-native/package.json index a7b9d300f..7f4871eec 100644 --- a/demo/react-native/package.json +++ b/demo/react-native/package.json @@ -14,7 +14,10 @@ "ios-bundle": "node scripts/run_demo.js bundle --dev false --platform ios --entry-file index.js --bundle-output ios/app.jsbundle" }, "dependencies": { + "@picovoice/picovoice-react-native": "^3.0.0", + "@picovoice/porcupine-react-native": "^3.0.0", "@picovoice/react-native-voice-processor": "^1.2.0", + "@picovoice/rhino-react-native": "^3.0.0", "react": "^17.0.2", "react-native": "^0.68.7" }, diff --git a/demo/react-native/yarn.lock b/demo/react-native/yarn.lock index 49b7e7c76..ebd205c01 100644 --- a/demo/react-native/yarn.lock +++ b/demo/react-native/yarn.lock @@ -865,11 +865,26 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" +"@picovoice/picovoice-react-native@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@picovoice/picovoice-react-native/-/picovoice-react-native-3.0.0.tgz#97fece58243b2bec83a521cfdc17c25b47f44b45" + integrity sha512-XdOB+ShXWqsFxIvr1FlVUgKzAZaQymDobGs2lrerKmqL/117CqYMCwqdH66IB7iujBE0QREWhg5BWdoulZ09gg== + +"@picovoice/porcupine-react-native@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@picovoice/porcupine-react-native/-/porcupine-react-native-3.0.0.tgz#f9e670d317b42de53984338d86350ffd1d2ac6a0" + integrity sha512-sMw4UwwzCnWyXpqlRYTiWaPlLoHoK/RqW4t+wUBAg8GxAlSD9JkRv6hWc1B5i2FPqWD0Txqm7nFDoDL6EEvNsw== + "@picovoice/react-native-voice-processor@^1.2.0": version "1.2.0" resolved "https://registry.yarnpkg.com/@picovoice/react-native-voice-processor/-/react-native-voice-processor-1.2.0.tgz#82a98b41d9236ababe330dae873062ee0e1b24c3" integrity sha512-zolTEo3qsqeUwY7JRslV/yhiA+oBrkeogOTxjHIEJ//yEsr7YKlI1PcqTbU5/xjmUiukh62gmwTXhosnQYdasQ== +"@picovoice/rhino-react-native@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@picovoice/rhino-react-native/-/rhino-react-native-3.0.0.tgz#0f73d3f493cc4e3e73138bfd946c9cacb9859339" + integrity sha512-2oSsn8/8hLo4ke2vHg9gF7e4CNDKorgdbh+gVudfiq7eiiZhgt7KL+vj0/a4V5N2maozAHMPvrog6ecAOddgiw== + "@react-native-community/cli-debugger-ui@^7.0.3": version "7.0.3" resolved "https://registry.yarnpkg.com/@react-native-community/cli-debugger-ui/-/cli-debugger-ui-7.0.3.tgz#3eeeacc5a43513cbcae56e5e965d77726361bcb4" diff --git a/sdk/react-native/package.json b/sdk/react-native/package.json index e803c4f6c..05badfb16 100644 --- a/sdk/react-native/package.json +++ b/sdk/react-native/package.json @@ -40,9 +40,9 @@ }, "homepage": "https://github.com/Picovoice/picovoice#readme", "devDependencies": { - "@picovoice/porcupine-react-native": "file:../../resources/porcupine/binding/react-native", + "@picovoice/porcupine-react-native": "=3.0.0", "@picovoice/react-native-voice-processor": "=1.2.0", - "@picovoice/rhino-react-native": "file:../../resources/rhino/binding/react-native", + "@picovoice/rhino-react-native": "=3.0.0", "@react-native-community/eslint-config": "^3.2.0", "@types/jest": "^26.0.0", "@types/react": "^16.9.19", diff --git a/sdk/react-native/test-app/PicovoiceTestApp/android/build.gradle b/sdk/react-native/test-app/PicovoiceTestApp/android/build.gradle index 1447b6b97..d5fe30c6e 100644 --- a/sdk/react-native/test-app/PicovoiceTestApp/android/build.gradle +++ b/sdk/react-native/test-app/PicovoiceTestApp/android/build.gradle @@ -14,15 +14,6 @@ buildscript { repositories { google() mavenCentral() - maven { - url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1266/' - } - maven { - url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1267/' - } - maven { - url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1269/' - } } dependencies { classpath("com.android.tools.build:gradle:7.3.1") @@ -48,14 +39,5 @@ allprojects { maven { url("$rootDir/../node_modules/detox/Detox-android") } - maven { - url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1266/' - } - maven { - url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1267/' - } - maven { - url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1269/' - } } } diff --git a/sdk/react-native/test-app/PicovoiceTestApp/ios/Podfile b/sdk/react-native/test-app/PicovoiceTestApp/ios/Podfile index 9a5eefa8e..00d0fd924 100644 --- a/sdk/react-native/test-app/PicovoiceTestApp/ios/Podfile +++ b/sdk/react-native/test-app/PicovoiceTestApp/ios/Podfile @@ -13,9 +13,6 @@ if linkage != nil end target 'PicovoiceTestApp' do - pod 'Porcupine-iOS', :podspec => 'https://raw.githubusercontent.com/Picovoice/porcupine/v3.0/binding/ios/Porcupine-iOS.podspec' - pod 'Rhino-iOS', :podspec => 'https://raw.githubusercontent.com/Picovoice/rhino/v3.0/binding/ios/Rhino-iOS.podspec' - pod 'Picovoice-iOS', :podspec => 'https://raw.githubusercontent.com/Picovoice/picovoice/v3.0/sdk/ios/Picovoice-iOS.podspec' config = use_native_modules! # Flags change depending on the env values. diff --git a/sdk/react-native/test-app/PicovoiceTestApp/ios/Podfile.lock b/sdk/react-native/test-app/PicovoiceTestApp/ios/Podfile.lock index feecc4e82..726e2e3f3 100644 --- a/sdk/react-native/test-app/PicovoiceTestApp/ios/Podfile.lock +++ b/sdk/react-native/test-app/PicovoiceTestApp/ios/Podfile.lock @@ -79,10 +79,6 @@ PODS: - ios-voice-processor (1.1.0) - libevent (2.1.12) - OpenSSL-Universal (1.1.1100) - - Picovoice-iOS (3.0.0): - - ios-voice-processor (~> 1.1.0) - - Porcupine-iOS (~> 3.0.0) - - Rhino-iOS (~> 3.0.0) - picovoice-react-native (3.0.0): - React - Porcupine-iOS (3.0.0): @@ -435,9 +431,7 @@ DEPENDENCIES: - hermes-engine (from `../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec`) - libevent (~> 2.1.12) - OpenSSL-Universal (= 1.1.1100) - - Picovoice-iOS (from `https://raw.githubusercontent.com/Picovoice/picovoice/v3.0/sdk/ios/Picovoice-iOS.podspec`) - "picovoice-react-native (from `../node_modules/@picovoice/picovoice-react-native`)" - - Porcupine-iOS (from `https://raw.githubusercontent.com/Picovoice/porcupine/v3.0/binding/ios/Porcupine-iOS.podspec`) - "porcupine-react-native (from `../node_modules/@picovoice/porcupine-react-native`)" - RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`) - RCTRequired (from `../node_modules/react-native/Libraries/RCTRequired`) @@ -469,7 +463,6 @@ DEPENDENCIES: - React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`) - React-runtimeexecutor (from `../node_modules/react-native/ReactCommon/runtimeexecutor`) - ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`) - - Rhino-iOS (from `https://raw.githubusercontent.com/Picovoice/rhino/v3.0/binding/ios/Rhino-iOS.podspec`) - "rhino-react-native (from `../node_modules/@picovoice/rhino-react-native`)" - RNFS (from `../node_modules/react-native-fs`) - Yoga (from `../node_modules/react-native/ReactCommon/yoga`) @@ -490,6 +483,8 @@ SPEC REPOS: - ios-voice-processor - libevent - OpenSSL-Universal + - Porcupine-iOS + - Rhino-iOS - SocketRocket - YogaKit @@ -506,12 +501,8 @@ EXTERNAL SOURCES: :podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec" hermes-engine: :podspec: "../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec" - Picovoice-iOS: - :podspec: https://raw.githubusercontent.com/Picovoice/picovoice/v3.0/sdk/ios/Picovoice-iOS.podspec picovoice-react-native: :path: "../node_modules/@picovoice/picovoice-react-native" - Porcupine-iOS: - :podspec: https://raw.githubusercontent.com/Picovoice/porcupine/v3.0/binding/ios/Porcupine-iOS.podspec porcupine-react-native: :path: "../node_modules/@picovoice/porcupine-react-native" RCT-Folly: @@ -570,8 +561,6 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native/ReactCommon/runtimeexecutor" ReactCommon: :path: "../node_modules/react-native/ReactCommon" - Rhino-iOS: - :podspec: https://raw.githubusercontent.com/Picovoice/rhino/v3.0/binding/ios/Rhino-iOS.podspec rhino-react-native: :path: "../node_modules/@picovoice/rhino-react-native" RNFS: @@ -600,7 +589,6 @@ SPEC CHECKSUMS: ios-voice-processor: 8e32d7f980a06d392d128ef1cd19cf6ddcaca3c1 libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913 OpenSSL-Universal: ebc357f1e6bc71fa463ccb2fe676756aff50e88c - Picovoice-iOS: a1aefe4fbc54bb698dd1663d7dee6a5bef9f1c5c picovoice-react-native: 7a7eab52268a0f83787be68ea0c326a28793cd26 Porcupine-iOS: 517158e02ac294dda15b713a3c6f74a9e877090c porcupine-react-native: e74ff3c50f8a1ec956b8aa7a8797821b0f9e8b85 @@ -639,6 +627,6 @@ SPEC CHECKSUMS: Yoga: c618b544ff8bd8865cdca602f00cbcdb92fd6d31 YogaKit: f782866e155069a2cca2517aafea43200b01fd5a -PODFILE CHECKSUM: 0a4e70747f8af0887b0614c3f0556e50201245e4 +PODFILE CHECKSUM: 268df58b409ef793b625ebf937176f1cb8d43c84 COCOAPODS: 1.11.3 diff --git a/sdk/react-native/test-app/PicovoiceTestApp/package.json b/sdk/react-native/test-app/PicovoiceTestApp/package.json index cf453c9fe..ac32596f6 100644 --- a/sdk/react-native/test-app/PicovoiceTestApp/package.json +++ b/sdk/react-native/test-app/PicovoiceTestApp/package.json @@ -11,9 +11,9 @@ }, "dependencies": { "@picovoice/picovoice-react-native": "file:../..", - "@picovoice/porcupine-react-native": "file:../../../../resources/porcupine/binding/react-native", - "@picovoice/rhino-react-native": "file:../../../../resources/rhino/binding/react-native", - "@picovoice/react-native-voice-processor": "^1.2.0", + "@picovoice/porcupine-react-native": "=3.0.0", + "@picovoice/react-native-voice-processor": "=1.2.0", + "@picovoice/rhino-react-native": "=3.0.0", "base-64": "^1.0.0", "react": "18.2.0", "react-native": "0.71.0", diff --git a/sdk/react-native/test-app/PicovoiceTestApp/yarn.lock b/sdk/react-native/test-app/PicovoiceTestApp/yarn.lock index bc04f0321..41ad1d7a3 100644 --- a/sdk/react-native/test-app/PicovoiceTestApp/yarn.lock +++ b/sdk/react-native/test-app/PicovoiceTestApp/yarn.lock @@ -1514,16 +1514,20 @@ "@picovoice/picovoice-react-native@file:../..": version "3.0.0" -"@picovoice/porcupine-react-native@file:../../../../resources/porcupine/binding/react-native": +"@picovoice/porcupine-react-native@=3.0.0": version "3.0.0" + resolved "https://registry.yarnpkg.com/@picovoice/porcupine-react-native/-/porcupine-react-native-3.0.0.tgz#f9e670d317b42de53984338d86350ffd1d2ac6a0" + integrity sha512-sMw4UwwzCnWyXpqlRYTiWaPlLoHoK/RqW4t+wUBAg8GxAlSD9JkRv6hWc1B5i2FPqWD0Txqm7nFDoDL6EEvNsw== -"@picovoice/react-native-voice-processor@^1.2.0": +"@picovoice/react-native-voice-processor@=1.2.0": version "1.2.0" resolved "https://registry.yarnpkg.com/@picovoice/react-native-voice-processor/-/react-native-voice-processor-1.2.0.tgz#82a98b41d9236ababe330dae873062ee0e1b24c3" integrity sha512-zolTEo3qsqeUwY7JRslV/yhiA+oBrkeogOTxjHIEJ//yEsr7YKlI1PcqTbU5/xjmUiukh62gmwTXhosnQYdasQ== -"@picovoice/rhino-react-native@file:../../../../resources/rhino/binding/react-native": +"@picovoice/rhino-react-native@=3.0.0": version "3.0.0" + resolved "https://registry.yarnpkg.com/@picovoice/rhino-react-native/-/rhino-react-native-3.0.0.tgz#0f73d3f493cc4e3e73138bfd946c9cacb9859339" + integrity sha512-2oSsn8/8hLo4ke2vHg9gF7e4CNDKorgdbh+gVudfiq7eiiZhgt7KL+vj0/a4V5N2maozAHMPvrog6ecAOddgiw== "@react-native-community/cli-clean@^10.0.0": version "10.1.1" diff --git a/sdk/react-native/yarn.lock b/sdk/react-native/yarn.lock index 362996694..bc334ee79 100644 --- a/sdk/react-native/yarn.lock +++ b/sdk/react-native/yarn.lock @@ -1503,16 +1503,20 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" -"@picovoice/porcupine-react-native@file:../../resources/porcupine/binding/react-native": +"@picovoice/porcupine-react-native@=3.0.0": version "3.0.0" + resolved "https://registry.yarnpkg.com/@picovoice/porcupine-react-native/-/porcupine-react-native-3.0.0.tgz#f9e670d317b42de53984338d86350ffd1d2ac6a0" + integrity sha512-sMw4UwwzCnWyXpqlRYTiWaPlLoHoK/RqW4t+wUBAg8GxAlSD9JkRv6hWc1B5i2FPqWD0Txqm7nFDoDL6EEvNsw== "@picovoice/react-native-voice-processor@=1.2.0": version "1.2.0" resolved "https://registry.yarnpkg.com/@picovoice/react-native-voice-processor/-/react-native-voice-processor-1.2.0.tgz#82a98b41d9236ababe330dae873062ee0e1b24c3" integrity sha512-zolTEo3qsqeUwY7JRslV/yhiA+oBrkeogOTxjHIEJ//yEsr7YKlI1PcqTbU5/xjmUiukh62gmwTXhosnQYdasQ== -"@picovoice/rhino-react-native@file:../../resources/rhino/binding/react-native": +"@picovoice/rhino-react-native@=3.0.0": version "3.0.0" + resolved "https://registry.yarnpkg.com/@picovoice/rhino-react-native/-/rhino-react-native-3.0.0.tgz#0f73d3f493cc4e3e73138bfd946c9cacb9859339" + integrity sha512-2oSsn8/8hLo4ke2vHg9gF7e4CNDKorgdbh+gVudfiq7eiiZhgt7KL+vj0/a4V5N2maozAHMPvrog6ecAOddgiw== "@react-native-community/cli-debugger-ui@^7.0.3": version "7.0.3"