Skip to content

Commit

Permalink
fix react native (#850)
Browse files Browse the repository at this point in the history
* try fix android test

* try latest react-native

* try _LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION

* try disable flipper

* bump rn version

* revert

* re-generate .lock files

* revert

* re-gen Podfile.lock

* pod update

* try include functional

* try fix React-codegen

* re-add @types/react-native

* revert wf

---------

Co-authored-by: Albert Ho <[email protected]>
  • Loading branch information
albho and Albert Ho authored Aug 30, 2024
1 parent bf1f0d8 commit fc386a2
Show file tree
Hide file tree
Showing 4 changed files with 93 additions and 71 deletions.
6 changes: 3 additions & 3 deletions sdk/react-native/test-app/PicovoiceTestApp/Tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,12 +191,12 @@ async function resetTest(testcase: any): Promise<Result> {
let picovoice = null;
try {
const keywordPath = getPath(
`keyword_files/${testcase.language}/${testcase.keywordName}_${platform}.ppn`,
`keyword_files/${testcase.language}/${testcase.wakeword}_${platform}.ppn`,
);
const contextPath = getPath(
`context_files/${testcase.language}/${testcase.contextName}_${platform}.rhn`,
`context_files/${testcase.language}/${testcase.context_name}_${platform}.rhn`,
);
const audioFilePath = getPath(`audio_samples/${testcase.audioFile}`);
const audioFilePath = getPath(`audio_samples/${testcase.audio_file}`);
const porcupineModelPath = getPath('model_files/porcupine_params.pv');
const rhinoModelPath = getPath('model_files/rhino_params.pv');

Expand Down
Loading

0 comments on commit fc386a2

Please sign in to comment.