diff --git a/.github/workflows/react-native-demos.yml b/.github/workflows/react-native-demos.yml index 8d2091ee..811f66d0 100644 --- a/.github/workflows/react-native-demos.yml +++ b/.github/workflows/react-native-demos.yml @@ -35,15 +35,6 @@ 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 @@ -69,15 +60,6 @@ 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 diff --git a/binding/flutter/pubspec.yaml b/binding/flutter/pubspec.yaml index c54fb3ed..1fcb80d4 100644 --- a/binding/flutter/pubspec.yaml +++ b/binding/flutter/pubspec.yaml @@ -14,7 +14,7 @@ dependencies: flutter: sdk: flutter - flutter_voice_processor: 1.1.2 + flutter_voice_processor: ^1.1.2 dev_dependencies: flutter_test: diff --git a/demo/flutter/pubspec.lock b/demo/flutter/pubspec.lock index f6c66987..9f92cbf1 100644 --- a/demo/flutter/pubspec.lock +++ b/demo/flutter/pubspec.lock @@ -245,9 +245,10 @@ packages: rhino_flutter: dependency: "direct main" description: - path: "../../binding/flutter" - relative: true - source: path + name: rhino_flutter + sha256: fe72e0e3e77411f46894accd047648530a141549e51237b0671974657ec45f6e + url: "https://pub.dev" + source: hosted version: "3.0.4" sky_engine: dependency: transitive diff --git a/demo/flutter/pubspec.yaml b/demo/flutter/pubspec.yaml index ae7c0966..e94524ed 100644 --- a/demo/flutter/pubspec.yaml +++ b/demo/flutter/pubspec.yaml @@ -13,8 +13,7 @@ dependencies: flutter: sdk: flutter - rhino_flutter: # TODO: 3.0.4 - path: ../../binding/flutter + rhino_flutter: 3.0.4 dev_dependencies: integration_test: diff --git a/demo/react-native/package.json b/demo/react-native/package.json index 50269919..2291040e 100644 --- a/demo/react-native/package.json +++ b/demo/react-native/package.json @@ -16,7 +16,7 @@ }, "dependencies": { "@picovoice/react-native-voice-processor": "1.2.3", - "@picovoice/rhino-react-native": "../../binding/react-native/pkg/picovoice-rhino-react-native-3.0.3.tgz", + "@picovoice/rhino-react-native": "3.0.3", "react": "^17.0.2", "react-native": "^0.68.7" }, diff --git a/demo/react-native/yarn.lock b/demo/react-native/yarn.lock index 73901153..0898727c 100644 --- a/demo/react-native/yarn.lock +++ b/demo/react-native/yarn.lock @@ -870,9 +870,10 @@ resolved "https://registry.yarnpkg.com/@picovoice/react-native-voice-processor/-/react-native-voice-processor-1.2.3.tgz#f07a2b526922bba1c2b542bbcd842897aab4c241" integrity sha512-GFnuKXWIOrDTPumcFkwfGaGUt2X1Vq31cU0sM4CZ9o/SomZQxJml12nr8d4uxjG03Z/eouWGN/0AcxZPdqihlw== -"@picovoice/rhino-react-native@../../binding/react-native/pkg/picovoice-rhino-react-native-3.0.3.tgz": +"@picovoice/rhino-react-native@3.0.3": version "3.0.3" - resolved "../../binding/react-native/pkg/picovoice-rhino-react-native-3.0.3.tgz#7ec5ee90bb4accd0e7b772ca2dc73e5387a42ecb" + resolved "https://registry.yarnpkg.com/@picovoice/rhino-react-native/-/rhino-react-native-3.0.3.tgz#71a89a20a8b9e5b77c021a818bb80bac74403443" + integrity sha512-tSo8hCnLHIyEIOTOGcqlouH/IVE2NrYGvHUCC/+PKrLvJBztiksiIoKTxvJ67MQStRZnFle6yvgefau2/JWuIw== "@react-native-community/cli-debugger-ui@^7.0.3": version "7.0.3"