Skip to content

Commit bed5a4f

Browse files
committed
Added consumer rules.
1 parent aec721f commit bed5a4f

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

app/build.gradle

+6-4
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ android {
1818
minSdkVersion 23
1919
targetSdkVersion 33
2020
versionCode 18
21-
versionName "2.1.2 - ${getGitHash()}"
21+
versionName "2.1.3 - ${getGitHash()}"
2222
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
2323
}
2424

2525
buildTypes {
2626
release {
27-
minifyEnabled false
27+
minifyEnabled true
2828
debuggable false
2929
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
3030
resValue "string", "proof_of_possesion", "abcd1234"
@@ -38,6 +38,7 @@ android {
3838

3939
debug {
4040
debuggable true
41+
minifyEnabled true
4142
resValue "string", "proof_of_possesion", "abcd1234"
4243
resValue "string", "wifi_base_url", "192.168.4.1:80"
4344
resValue "string", "wifi_device_name_prefix", "PROV_"
@@ -59,9 +60,10 @@ dependencies {
5960

6061
implementation 'com.google.protobuf:protobuf-javalite:3.18.0'
6162
implementation 'com.google.crypto.tink:tink-android:1.6.1'
62-
implementation project(path: ':provisioning')
63+
// implementation project(path: ':provisioning')
64+
implementation 'com.github.espressif:esp-idf-provisioning-android:lib-2.1.2'
6365

64-
implementation 'org.greenrobot:eventbus:3.2.0'
66+
implementation 'org.greenrobot:eventbus:3.3.1'
6567
implementation 'com.github.yuriy-budiyev:code-scanner:2.1.2'
6668
implementation 'com.github.firdausmaulan:AVLoadingIndicatorView:2.3.0'
6769

provisioning/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ dependencies {
5757
implementation fileTree(dir: 'libs', include: ['*.jar'])
5858

5959
implementation 'androidx.appcompat:appcompat:1.3.1'
60-
implementation 'org.greenrobot:eventbus:3.2.0'
60+
implementation 'org.greenrobot:eventbus:3.3.1'
6161
implementation 'com.google.protobuf:protobuf-javalite:3.18.0'
6262
implementation 'com.google.crypto.tink:tink-android:1.6.1'
6363
implementation 'com.google.android.gms:play-services-vision:20.1.3'

provisioning/consumer-rules.pro

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-keep public class com.espressif.provisioning.*

0 commit comments

Comments
 (0)