Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
laves committed Feb 8, 2024
1 parent fe6f34b commit 59c73a2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ jobs:
- name: Install dependencies
run: yarn bootstrap

- name: Upgrade React Native and settings.gradle
if: ${{ (matrix.gradle-version == '8.2')}}
run: yarn upgrade [email protected] && cp ../resources/.test/settings_8.2.gradle android/settings.gradle
working-directory: example

- name: Generate gradle wrapper
run: gradle wrapper --gradle-version ${{ matrix.gradle-version }} --distribution-type all
working-directory: example/android
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@picovoice/react-native-voice-processor",
"version": "1.2.1",
"version": "1.2.0",
"description": "A library for real-time voice processing in React Native.",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down
4 changes: 4 additions & 0 deletions resources/.test/settings_8.2.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
rootProject.name = 'VoiceProcessorExample'
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
include ':app'
includeBuild('../node_modules/@react-native/gradle-plugin')

0 comments on commit 59c73a2

Please sign in to comment.