1
0
mirror of https://github.com/Picovoice/porcupine.git synced 2022-01-28 03:27:53 +03:00

Android version support patch (#618)

This commit is contained in:
Ian Lavery
2022-01-11 14:38:37 -08:00
committed by GitHub
parent 24d014b5c4
commit 5b52a5c12a
27 changed files with 35 additions and 33 deletions

View File

@@ -3,7 +3,7 @@ apply plugin: 'com.github.dcendents.android-maven'
ext {
PUBLISH_GROUP_ID = 'ai.picovoice'
PUBLISH_VERSION = '2.0.1'
PUBLISH_VERSION = '2.0.2'
PUBLISH_ARTIFACT_ID = 'porcupine-android'
}
@@ -11,7 +11,7 @@ android {
compileSdkVersion defaultTargetSdkVersion
defaultConfig {
minSdkVersion 16
minSdkVersion 14
targetSdkVersion defaultTargetSdkVersion
versionCode 1
versionName "1.0"

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -15,4 +15,7 @@
* Run formatter
## [2.0.5] - 2021-12-22
* Update Android native package
* Update Android native package
## [2.0.6] - 2022-01-11
* Android support patch

View File

@@ -25,7 +25,7 @@ android {
compileSdkVersion 29
defaultConfig {
minSdkVersion 16
minSdkVersion 14
}
buildTypes {
@@ -43,5 +43,5 @@ android {
}
dependencies {
implementation 'ai.picovoice:porcupine-android:2.0.1'
implementation 'ai.picovoice:porcupine-android:2.0.2'
}

View File

@@ -1,6 +1,6 @@
name: porcupine_flutter
description: A Flutter plugin for Picovoice's Porcupine offline wake word engine.
version: 2.0.5
version: 2.0.6
homepage: https://picovoice.ai/
environment:

View File

@@ -3,7 +3,7 @@ buildscript {
repositories {
google()
jcenter()
mavenCentral()
mavenCentral()
}
dependencies {
@@ -120,5 +120,5 @@ repositories {
dependencies {
// noinspection GradleDynamicVersion
api 'com.facebook.react:react-native:+'
implementation 'ai.picovoice:porcupine-android:2.0.1'
implementation 'ai.picovoice:porcupine-android:2.0.2'
}

View File

@@ -1,6 +1,6 @@
{
"name": "@picovoice/porcupine-react-native",
"version": "2.0.2",
"version": "2.0.3",
"description": "Picovoice Porcupine React Native binding",
"main": "lib/commonjs/index",
"module": "lib/module/index",
@@ -11,7 +11,6 @@
"test": "jest",
"typescript": "tsc --noEmit",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"copy": "node copy.js",
"prepare": "bob build",
"pkg": "cd pkg && npm pack .. && cd .."
},

View File

@@ -1,10 +1,10 @@
{
"dependencies": {
"com.unity.collab-proxy": "1.2.16",
"com.unity.collab-proxy": "1.14.4",
"com.unity.ide.rider": "1.2.1",
"com.unity.ide.visualstudio": "2.0.8",
"com.unity.ide.vscode": "1.2.3",
"com.unity.test-framework": "1.1.24",
"com.unity.ide.visualstudio": "2.0.12",
"com.unity.ide.vscode": "1.2.4",
"com.unity.test-framework": "1.1.29",
"com.unity.textmeshpro": "2.1.4",
"com.unity.timeline": "1.2.18",
"com.unity.ugui": "1.0.0",

View File

@@ -1,7 +1,7 @@
{
"dependencies": {
"com.unity.collab-proxy": {
"version": "1.2.16",
"version": "1.14.4",
"depth": 0,
"source": "registry",
"dependencies": {},
@@ -24,7 +24,7 @@
"url": "https://packages.unity.com"
},
"com.unity.ide.visualstudio": {
"version": "2.0.8",
"version": "2.0.12",
"depth": 0,
"source": "registry",
"dependencies": {
@@ -33,14 +33,14 @@
"url": "https://packages.unity.com"
},
"com.unity.ide.vscode": {
"version": "1.2.3",
"version": "1.2.4",
"depth": 0,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.com"
},
"com.unity.test-framework": {
"version": "1.1.24",
"version": "1.1.29",
"depth": 0,
"source": "registry",
"dependencies": {

View File

@@ -1,2 +1,2 @@
m_EditorVersion: 2019.4.28f1
m_EditorVersionWithRevision: 2019.4.28f1 (1381962e9d08)
m_EditorVersion: 2019.4.34f1
m_EditorVersionWithRevision: 2019.4.34f1 (6a9faed444f2)

Binary file not shown.

View File

@@ -16,7 +16,7 @@ android {
minSdkVersion 19
targetSdkVersion 31
versionCode 5
versionName "2.0.0"
versionName "2.0.2"
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
resValue 'string', 'pvTestingAccessKey', properties.getProperty("pvTestingAccessKey", "")
@@ -35,7 +35,7 @@ android {
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'ai.picovoice:porcupine-android:2.0.1'
implementation 'ai.picovoice:porcupine-android:2.0.2'
// Espresso UI Testing
androidTestImplementation 'androidx.test.ext:junit:1.1.3'

View File

@@ -28,5 +28,5 @@ dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.1'
implementation 'ai.picovoice:porcupine-android:2.0.1'
implementation 'ai.picovoice:porcupine-android:2.0.2'
}

View File

@@ -3,7 +3,7 @@ apply plugin: 'com.android.application'
android {
compileSdkVersion 31
defaultConfig {
applicationId "com.example.androidforegroundservice"
applicationId "ai.picovoice.porcupinedemoservice"
minSdkVersion 19
targetSdkVersion 31
versionCode 1
@@ -25,5 +25,5 @@ dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.1'
implementation 'ai.picovoice:porcupine-android:2.0.1'
implementation 'ai.picovoice:porcupine-android:2.0.2'
}

View File

@@ -34,7 +34,7 @@ android {
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "ai.picovoice.flutter.porcupinedemo"
minSdkVersion 16
minSdkVersion 19
targetSdkVersion 29
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName

View File

@@ -171,7 +171,7 @@ packages:
name: porcupine_flutter
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.5"
version: "2.0.6"
process:
dependency: transitive
description:

View File

@@ -11,7 +11,7 @@ dependencies:
sdk: flutter
flutter_picker: ^2.0.1
porcupine_flutter: ^2.0.5
porcupine_flutter: ^2.0.6
dev_dependencies:
flutter_test:

View File

@@ -13,7 +13,7 @@
"ios-install": "yarn && yarn ios-link"
},
"dependencies": {
"@picovoice/porcupine-react-native": "^2.0.2",
"@picovoice/porcupine-react-native": "^2.0.3",
"@picovoice/react-native-voice-processor": "^1.0.4",
"@react-native-picker/picker": "^1.9.2",
"react": "16.13.1",

View File

@@ -1017,10 +1017,10 @@
"@types/yargs" "^15.0.0"
chalk "^4.0.0"
"@picovoice/porcupine-react-native@^2.0.2":
version "2.0.2"
resolved "https://registry.yarnpkg.com/@picovoice/porcupine-react-native/-/porcupine-react-native-2.0.2.tgz#1453d0f9e5da829be932516b7094cc159b6621d1"
integrity sha512-BTyhVYKatu5tcB/HLY4Hwk1b73a0IL28yCCqnsdLs68iVoF0TVysSbPHzBNfj5VPOg5OmcRPNPZ5OzStKfGx5g==
"@picovoice/porcupine-react-native@^2.0.3":
version "2.0.3"
resolved "https://registry.yarnpkg.com/@picovoice/porcupine-react-native/-/porcupine-react-native-2.0.3.tgz#d321ff2b5648998f31a39ea77112d90224d3fec1"
integrity sha512-7IWsvRwRjHTDxBjW6aeTfidL/eJrA8xb1qBi5QDkl2+k8mr4TtI4XB0kTaE03nhGKmEb/bF54w7/YQWjr6kKqw==
"@picovoice/react-native-voice-processor@^1.0.4":
version "1.0.4"

BIN
lib/android/arm64-v8a/libpv_porcupine.so Normal file → Executable file

Binary file not shown.

BIN
lib/android/armeabi-v7a/libpv_porcupine.so Normal file → Executable file

Binary file not shown.

BIN
lib/android/x86/libpv_porcupine.so Normal file → Executable file

Binary file not shown.

BIN
lib/android/x86_64/libpv_porcupine.so Normal file → Executable file

Binary file not shown.