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

Android release build patch (#602)

This commit is contained in:
Ian Lavery
2021-12-22 13:08:37 -08:00
committed by GitHub
parent 53288811ba
commit 0f8c3bdcd4
15 changed files with 21 additions and 37 deletions

View File

@@ -3,7 +3,7 @@ apply plugin: 'com.github.dcendents.android-maven'
ext {
PUBLISH_GROUP_ID = 'ai.picovoice'
PUBLISH_VERSION = '2.0.0'
PUBLISH_VERSION = '2.0.1'
PUBLISH_ARTIFACT_ID = 'porcupine-android'
}

View File

@@ -0,0 +1 @@
-keep class ai.picovoice.porcupine.*Exception { <init>(...); }

View File

@@ -1,21 +1 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
-keep class ai.picovoice.porcupine.*Exception { <init>(...); }

View File

@@ -12,4 +12,7 @@
* Fix bug for android with lower case built-in keywords
## [2.0.4] - 2021-11-25
* Run formatter
* Run formatter
## [2.0.5] - 2021-12-22
* Update Android native package

View File

@@ -43,5 +43,5 @@ android {
}
dependencies {
implementation 'ai.picovoice:porcupine-android:2.0.0'
implementation 'ai.picovoice:porcupine-android:2.0.1'
}

View File

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

View File

@@ -120,5 +120,5 @@ repositories {
dependencies {
// noinspection GradleDynamicVersion
api 'com.facebook.react:react-native:+'
implementation 'ai.picovoice:porcupine-android:2.0.0'
implementation 'ai.picovoice:porcupine-android:2.0.1'
}

View File

@@ -1,6 +1,6 @@
{
"name": "@picovoice/porcupine-react-native",
"version": "2.0.1",
"version": "2.0.2",
"description": "Picovoice Porcupine React Native binding",
"main": "lib/commonjs/index",
"module": "lib/module/index",

View File

@@ -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.0'
implementation 'ai.picovoice:porcupine-android:2.0.1'
// 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.0'
implementation 'ai.picovoice:porcupine-android:2.0.1'
}

View File

@@ -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.0'
implementation 'ai.picovoice:porcupine-android:2.0.1'
}

View File

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

View File

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

View File

@@ -13,7 +13,7 @@
"ios-install": "yarn && yarn ios-link"
},
"dependencies": {
"@picovoice/porcupine-react-native": "^2.0.1",
"@picovoice/porcupine-react-native": "^2.0.2",
"@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.1":
version "2.0.1"
resolved "https://registry.yarnpkg.com/@picovoice/porcupine-react-native/-/porcupine-react-native-2.0.1.tgz#1a1f02360ebc4b9cf9a89adf34b924070f13b410"
integrity sha512-Irlgb33YGh62+3ahGHEdfNHQL8A3YGFGVsaM90BMCbI+nrKNjsPLhuU+ovHG47s2jaeB4b1oo0zFteh6VbM6OA==
"@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/react-native-voice-processor@^1.0.4":
version "1.0.4"