Skip to content

Commit

Permalink
rn release (#1145)
Browse files Browse the repository at this point in the history
  • Loading branch information
laves authored Oct 25, 2023
1 parent a7ceccd commit a4edb1e
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 25 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 @@ -4,9 +4,6 @@ buildscript {
google()
jcenter()
mavenCentral()
maven {
url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1266'
}
}

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-1266'
}
}
dependencies {
classpath("com.android.tools.build:gradle:7.3.1")
Expand All @@ -42,8 +39,5 @@ allprojects {
maven {
url("$rootDir/../node_modules/detox/Detox-android")
}
maven {
url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1266'
}
}
}
1 change: 0 additions & 1 deletion binding/react-native/test-app/PorcupineTestApp/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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`)
Expand Down Expand Up @@ -475,6 +474,7 @@ SPEC REPOS:
- ios-voice-processor
- libevent
- OpenSSL-Universal
- Porcupine-iOS
- SocketRocket
- YogaKit

Expand All @@ -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:
Expand Down Expand Up @@ -612,6 +610,6 @@ SPEC CHECKSUMS:
Yoga: c618b544ff8bd8865cdca602f00cbcdb92fd6d31
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a

PODFILE CHECKSUM: 60f1c170cfe3fe441d7bce04cb482de95a039da7
PODFILE CHECKSUM: c175f5594aacce158a6c9dfa12548975fd078ac6

COCOAPODS: 1.11.3
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-1266'
}
}
dependencies {
classpath("com.android.tools.build:gradle:4.1.3")
Expand All @@ -36,8 +33,5 @@ allprojects {
google()
jcenter()
maven { url 'https://www.jitpack.io' }
maven {
url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1266'
}
}
}
1 change: 0 additions & 1 deletion demo/react-native/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 2 additions & 4 deletions demo/react-native/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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`)
Expand Down Expand Up @@ -339,6 +338,7 @@ SPEC REPOS:
trunk:
- fmt
- ios-voice-processor
- Porcupine-iOS

EXTERNAL SOURCES:
boost:
Expand All @@ -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:
Expand Down Expand Up @@ -451,6 +449,6 @@ SPEC CHECKSUMS:
RNCPicker: 0991c56da7815c0cf946d6f63cf920b25296e5f6
Yoga: 0bc4b37c3b8a345336ff601e2cf7d9704bab7e93

PODFILE CHECKSUM: 259b24b678980d1d3695e54475987e4a1511f6ac
PODFILE CHECKSUM: 853e3dcc8afbd54d559edf35fc8dcaab2a813897

COCOAPODS: 1.11.3
1 change: 1 addition & 0 deletions demo/react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
5 changes: 5 additions & 0 deletions demo/react-native/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1476,6 +1476,11 @@
"@nodelib/fs.scandir" "2.1.5"
fastq "^1.6.0"

"@picovoice/[email protected]":
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/[email protected]":
version "1.2.0"
resolved "https://registry.yarnpkg.com/@picovoice/react-native-voice-processor/-/react-native-voice-processor-1.2.0.tgz#82a98b41d9236ababe330dae873062ee0e1b24c3"
Expand Down

0 comments on commit a4edb1e

Please sign in to comment.