1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-21 20:39:22 +00:00

Fix a issue on release builds

This commit is contained in:
Pierre HUBERT 2020-04-23 17:59:11 +02:00
parent 7768e36c62
commit 675d1b8588
2 changed files with 11 additions and 0 deletions

View File

@ -71,6 +71,10 @@ android {
buildTypes {
release {
signingConfig signingConfigs.release
useProguard true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
@ -85,6 +89,10 @@ android {
applicationId "org.communiquons.beta"
}
}
packagingOptions {
exclude 'META-INF/proguard/androidx-annotations.pro'
}
}
flutter {

3
android/app/proguard-rules.pro vendored Normal file
View File

@ -0,0 +1,3 @@
## Flutter WebRTC
-keep class com.cloudwebrtc.webrtc.** { *; }
-keep class org.webrtc.** { *; }