8000 Add library module ProGuard configuration file · sinkync/flutter-webrtc@2a6a6ec · GitHub
[go: up one dir, main page]

Skip to content

Commit 2a6a6ec

Browse files
committed
Add library module ProGuard configuration file
1 parent 23a5a51 commit 2a6a6ec

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

android/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ android {
2727
defaultConfig {
2828
minSdkVersion 18
2929
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
30+
consumerProguardFiles 'proguard-rules.pro'
3031
}
3132

3233
lintOptions {

android/proguard-rules.pro

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Flutter WebRTC
2+
-keep class com.cloudwebrtc.webrtc.** { *; }
3+
-keep class org.webrtc.** { *; }

0 commit comments

Comments
 (0)
0