Skip to content

Commit

Permalink
馃敡 Apply relevant rules with the ProGuard
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexV525 committed May 18, 2024
1 parent 5c01453 commit da88974
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/cronet_http/android/consumer-rules.pro
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
-keep class io.flutter.plugins.cronet_http.** { *; }
-keep class java.net.URL { *; }
-keep class java.util.concurrent.Executors { *; }
-keep class org.chromium.net.** { *; }
1 change: 1 addition & 0 deletions pkgs/cronet_http/example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,6 @@ dependencies {
implementation(platform("org.jetbrains.kotlin:kotlin-bom:1.8.0"))
// ""com.google.android.gms:play-services-cronet" is only present so that
// `jnigen` will work. Applications should not include this line.
// The version should be synced with `pkgs/cronet_http/android/build.gradle`.
implementation "com.google.android.gms:play-services-cronet:18.0.1"
}

0 comments on commit da88974

Please sign in to comment.