diff --git a/CHANGELOG.md b/CHANGELOG.md index 73c3997..6a36649 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,4 +21,7 @@ * Update README ## 1.2.2 -* Remove dependency on http plugin \ No newline at end of file +* Remove dependency on http plugin + +## 1.2.3 +* Add Android namespace diff --git a/android/build.gradle b/android/build.gradle index a88fa8d..47a82c8 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -22,6 +22,10 @@ rootProject.allprojects { apply plugin: 'com.android.library' android { + + if (project.android.hasProperty("namespace")) { + namespace 'com.lm.http_proxy' + } compileSdkVersion 28 defaultConfig { diff --git a/pubspec.yaml b/pubspec.yaml index 96100d8..c3c7724 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: http_proxy description: http proxy plugin,get and set http proxy automatically.This package help you to use proxy tools. -version: 1.2.2 +version: 1.2.3 homepage: https://github.com/wslaimin repository: https://github.com/wslaimin/http_proxy