From e6494b1b4812c991f15fe01803bbbcbff79e8910 Mon Sep 17 00:00:00 2001 From: Ian Lavery Date: Wed, 25 Oct 2023 16:34:07 -0700 Subject: [PATCH] rn release --- binding/react-native/android/build.gradle | 3 --- .../test-app/PorcupineTestApp/android/build.gradle | 6 ------ binding/react-native/test-app/PorcupineTestApp/ios/Podfile | 1 - .../react-native/test-app/PorcupineTestApp/ios/Podfile.lock | 6 ++---- demo/react-native/android/build.gradle | 6 ------ demo/react-native/ios/Podfile | 1 - demo/react-native/ios/Podfile.lock | 6 ++---- demo/react-native/package.json | 1 + demo/react-native/yarn.lock | 5 +++++ 9 files changed, 10 insertions(+), 25 deletions(-) diff --git a/binding/react-native/android/build.gradle b/binding/react-native/android/build.gradle index 656c07084f..1c77a7a598 100644 --- a/binding/react-native/android/build.gradle +++ b/binding/react-native/android/build.gradle @@ -4,9 +4,6 @@ buildscript { google() jcenter() mavenCentral() - maven { - url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1266' - } } dependencies { diff --git a/binding/react-native/test-app/PorcupineTestApp/android/build.gradle b/binding/react-native/test-app/PorcupineTestApp/android/build.gradle index 07309e9824..d5fe30c6e7 100644 --- a/binding/react-native/test-app/PorcupineTestApp/android/build.gradle +++ b/binding/react-native/test-app/PorcupineTestApp/android/build.gradle @@ -14,9 +14,6 @@ buildscript { repositories { google() mavenCentral() - maven { - url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1266' - } } dependencies { classpath("com.android.tools.build:gradle:7.3.1") @@ -42,8 +39,5 @@ allprojects { maven { url("$rootDir/../node_modules/detox/Detox-android") } - maven { - url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1266' - } } } diff --git a/binding/react-native/test-app/PorcupineTestApp/ios/Podfile b/binding/react-native/test-app/PorcupineTestApp/ios/Podfile index ab752e6903..76fb7a4031 100644 --- a/binding/react-native/test-app/PorcupineTestApp/ios/Podfile +++ b/binding/react-native/test-app/PorcupineTestApp/ios/Podfile @@ -14,7 +14,6 @@ end target 'PorcupineTestApp' do config = use_native_modules! - pod 'Porcupine-iOS', :podspec => 'https://raw.githubusercontent.com/Picovoice/porcupine/v3.0/binding/ios/Porcupine-iOS.podspec' # Flags change depending on the env values. flags = get_default_flags() diff --git a/binding/react-native/test-app/PorcupineTestApp/ios/Podfile.lock b/binding/react-native/test-app/PorcupineTestApp/ios/Podfile.lock index ec885cc74a..ae72a30b5e 100644 --- a/binding/react-native/test-app/PorcupineTestApp/ios/Podfile.lock +++ b/binding/react-native/test-app/PorcupineTestApp/ios/Podfile.lock @@ -424,7 +424,6 @@ DEPENDENCIES: - hermes-engine (from `../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec`) - libevent (~> 2.1.12) - OpenSSL-Universal (= 1.1.1100) - - 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`) @@ -475,6 +474,7 @@ SPEC REPOS: - ios-voice-processor - libevent - OpenSSL-Universal + - Porcupine-iOS - SocketRocket - YogaKit @@ -491,8 +491,6 @@ 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" - 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: @@ -612,6 +610,6 @@ SPEC CHECKSUMS: Yoga: c618b544ff8bd8865cdca602f00cbcdb92fd6d31 YogaKit: f782866e155069a2cca2517aafea43200b01fd5a -PODFILE CHECKSUM: 60f1c170cfe3fe441d7bce04cb482de95a039da7 +PODFILE CHECKSUM: c175f5594aacce158a6c9dfa12548975fd078ac6 COCOAPODS: 1.11.3 diff --git a/demo/react-native/android/build.gradle b/demo/react-native/android/build.gradle index 7caa8859fb..c1d8954a67 100644 --- a/demo/react-native/android/build.gradle +++ b/demo/react-native/android/build.gradle @@ -10,9 +10,6 @@ buildscript { repositories { google() jcenter() - maven { - url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1266' - } } dependencies { classpath("com.android.tools.build:gradle:4.1.3") @@ -36,8 +33,5 @@ allprojects { google() jcenter() maven { url 'https://www.jitpack.io' } - maven { - url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1266' - } } } diff --git a/demo/react-native/ios/Podfile b/demo/react-native/ios/Podfile index 60a6d5a4c8..a0db999026 100644 --- a/demo/react-native/ios/Podfile +++ b/demo/react-native/ios/Podfile @@ -5,6 +5,5 @@ platform :ios, '11.0' target 'PorcupineDemo' do config = use_native_modules! - pod 'Porcupine-iOS', :podspec => 'https://raw.githubusercontent.com/Picovoice/porcupine/v3.0/binding/ios/Porcupine-iOS.podspec' use_react_native!(:path => config["reactNativePath"]) end diff --git a/demo/react-native/ios/Podfile.lock b/demo/react-native/ios/Podfile.lock index 957e2381df..9b7206dcc2 100644 --- a/demo/react-native/ios/Podfile.lock +++ b/demo/react-native/ios/Podfile.lock @@ -302,7 +302,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`) - - 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`) @@ -339,6 +338,7 @@ SPEC REPOS: trunk: - fmt - ios-voice-processor + - Porcupine-iOS EXTERNAL SOURCES: boost: @@ -351,8 +351,6 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native/React/FBReactNativeSpec" glog: :podspec: "../node_modules/react-native/third-party-podspecs/glog.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: @@ -451,6 +449,6 @@ SPEC CHECKSUMS: RNCPicker: 0991c56da7815c0cf946d6f63cf920b25296e5f6 Yoga: 0bc4b37c3b8a345336ff601e2cf7d9704bab7e93 -PODFILE CHECKSUM: 259b24b678980d1d3695e54475987e4a1511f6ac +PODFILE CHECKSUM: 853e3dcc8afbd54d559edf35fc8dcaab2a813897 COCOAPODS: 1.11.3 diff --git a/demo/react-native/package.json b/demo/react-native/package.json index 6744ded92d..fb6934b6b8 100644 --- a/demo/react-native/package.json +++ b/demo/react-native/package.json @@ -15,6 +15,7 @@ "ios-bundle": "node scripts/run_demo.js bundle --dev false --platform ios --entry-file index.js --bundle-output ios/app.jsbundle" }, "dependencies": { + "@picovoice/porcupine-react-native": "3.0.0", "@picovoice/react-native-voice-processor": "1.2.0", "@react-native-picker/picker": "^1.9.2", "react": "17.0.2", diff --git a/demo/react-native/yarn.lock b/demo/react-native/yarn.lock index 36974db000..224cb07ef9 100644 --- a/demo/react-native/yarn.lock +++ b/demo/react-native/yarn.lock @@ -1476,6 +1476,11 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" +"@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"