diff --git a/CHANGELOG.md b/CHANGELOG.md index d44110c..22df824 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 0.10.0 +- Upgrade to StrongSwan 5.9.0. +- Fix typo in event channel. +- Expose port and name settings (Android). + ## 0.9.0 - Upgrade to StrongSwan 5.9.0. - Add `prepared` for checking vpn preparation on android. diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index 397d7eb..51bdbdb 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -26,7 +26,7 @@ apply plugin: 'kotlin-android' apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" android { - compileSdkVersion 30 + compileSdkVersion 31 sourceSets { main.java.srcDirs += 'src/main/kotlin' @@ -39,7 +39,7 @@ android { defaultConfig { applicationId "io.xdea.flutter_vpn_example" minSdkVersion 16 - targetSdkVersion 30 + targetSdkVersion 31 versionCode flutterVersionCode.toInteger() versionName flutterVersionName } @@ -49,6 +49,9 @@ android { // TODO: Add your own signing config for the release build. // Signing with the debug keys for now, so `flutter run --release` works. signingConfig signingConfigs.debug + + shrinkResources false + minifyEnabled false ndk { if (!project.hasProperty('target-platform')) { diff --git a/example/android/app/src/main/AndroidManifest.xml b/example/android/app/src/main/AndroidManifest.xml index c2294a2..7606c11 100644 --- a/example/android/app/src/main/AndroidManifest.xml +++ b/example/android/app/src/main/AndroidManifest.xml @@ -8,6 +8,7 @@ android:label="flutter_vpn_example"> - Jerry Wang