Skip to content

Commit

Permalink
react-native updates
Browse files Browse the repository at this point in the history
  • Loading branch information
albho committed Nov 29, 2024
1 parent 61afd3a commit 72e78aa
Show file tree
Hide file tree
Showing 10 changed files with 597 additions and 32 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/react-native-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

# REMOVE
- name: Build binding
run: yarn && yarn pkg
working-directory: binding/react-native

- name: Add binding
run: yarn add ../../binding/react-native/pkg/picovoice-rhino-react-native-3.0.3.tgz
# REMOVE

- name: Install dependencies
run: yarn android-install

Expand All @@ -60,6 +69,15 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

# REMOVE
- name: Build binding
run: yarn && yarn pkg
working-directory: binding/react-native

- name: Add binding
run: yarn add ../../binding/react-native/pkg/picovoice-rhino-react-native-3.0.3.tgz
# REMOVE

- name: Install dependencies
run: yarn ios-install

Expand Down
6 changes: 3 additions & 3 deletions binding/react-native/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@picovoice/rhino-react-native",
"version": "3.0.2",
"version": "3.0.3",
"description": "Picovoice Rhino React Native binding",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down Expand Up @@ -39,7 +39,7 @@
},
"homepage": "https://github.com/Picovoice/rhino/#readme",
"devDependencies": {
"@picovoice/react-native-voice-processor": "^1.2.2",
"@picovoice/react-native-voice-processor": "1.2.3",
"@react-native-community/eslint-config": "^3.2.0",
"@types/jest": "^26.0.0",
"@types/react": "^16.9.19",
Expand All @@ -58,7 +58,7 @@
"typescript": "^4.9.3"
},
"peerDependencies": {
"@picovoice/react-native-voice-processor": ">= 1.2.2",
"@picovoice/react-native-voice-processor": "= 1.2.3",
"react": ">= 17.0",
"react-native": ">= 0.63"
},
Expand Down
2 changes: 1 addition & 1 deletion binding/react-native/rhino-react-native.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ Pod::Spec.new do |s|
s.source_files = "ios/*.{h,m,mm,swift}"

s.dependency "React"
s.dependency 'Rhino-iOS', '~> 3.0.1'
s.dependency 'Rhino-iOS', '~> 3.0.2'
end
Loading

0 comments on commit 72e78aa

Please sign in to comment.