Skip to content

Commit

Permalink
v2.0 rn release (#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
ksyeo1010 authored and laves committed Nov 25, 2023
1 parent a5e111b commit 6c22644
Show file tree
Hide file tree
Showing 14 changed files with 1,091 additions and 43 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 @@ -38,15 +38,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-cheetah-react-native-2.0.0.tgz
# ***************************************************

- name: Install dependencies
run: yarn android-install

Expand Down Expand Up @@ -75,15 +66,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-cheetah-react-native-2.0.0.tgz
# ***************************************************

- name: Install dependencies
run: yarn ios-install

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ For more information about Go demos go to [demo/go](./demo/go).

### React Native Demo

To run the React Native Porcupine demo app you will first need to set up your React Native environment. For this,
To run the React Native Cheetah demo app you will first need to set up your React Native environment. For this,
please refer to [React Native's documentation](https://reactnative.dev/docs/environment-setup). Once your environment has
been set up, navigate to [demo/react-native](./demo/react-native) to run the following commands:

Expand Down
2 changes: 1 addition & 1 deletion binding/ios/CheetahAppTest/CheetahAppTest/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
<string>PorcupineDemoApp</string>
<string>CheetahDemoApp</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
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 @@ -48,9 +48,6 @@ android {
repositories {
mavenCentral()
google()
maven {
url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1302'
}

def found = false
def defaultDir = null
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-1302'
}
}
dependencies {
classpath("com.android.tools.build:gradle:7.3.1")
Expand All @@ -39,9 +36,6 @@ allprojects {

allprojects {
repositories {
maven {
url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1302'
}
maven {
url("$rootDir/../node_modules/detox/Detox-android")
}
Expand Down
2 changes: 1 addition & 1 deletion binding/react-native/test-app/CheetahTestApp/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ end

target 'CheetahTestApp' do
config = use_native_modules!
pod 'Cheetah-iOS', :podspec => 'https://raw.githubusercontent.com/Picovoice/cheetah/v2.0-ios/binding/ios/Cheetah-iOS.podspec'
pod 'Cheetah-iOS', '~> 2.0.0'

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

0 comments on commit 6c22644

Please sign in to comment.