Skip to content

Commit

Permalink
v2.0 rn release (#317)
Browse files Browse the repository at this point in the history
  • Loading branch information
ksyeo1010 authored Nov 24, 2023
1 parent 5fc6922 commit cf23531
Show file tree
Hide file tree
Showing 12 changed files with 1,084 additions and 41 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/react-native-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,6 @@ jobs:

- name: Pre-build dependencies
run: npm install yarn

# ************ REMOVE AFTER RELEASE *****************
- name: Build and package binding
working-directory: binding/react-native
run: yarn && yarn pkg

- name: Add to demo
run: yarn add ../../binding/react-native/pkg/picovoice-leopard-react-native-2.0.0.tgz
# ***************************************************

- name: Install dependencies
run: yarn android-install
Expand Down Expand Up @@ -74,15 +65,6 @@ jobs:

- name: Pre-build dependencies
run: npm install yarn

# ************ REMOVE AFTER RELEASE *****************
- name: Build and package binding
working-directory: binding/react-native
run: yarn && yarn pkg

- name: Add to demo
run: yarn add ../../binding/react-native/pkg/picovoice-leopard-react-native-2.0.0.tgz
# ***************************************************

- name: Install dependencies
run: yarn ios-install
Expand Down
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-1305'
}
}

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-1305'
}
}
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-1305'
}
}
}
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', '~> 2.0.0'

# Flags change depending on the env values.
flags = get_default_flags()
Expand Down
Loading

0 comments on commit cf23531

Please sign in to comment.