update dio version & add proguard file

hmxc
小赖 4 years ago
parent 85abe77769
commit 7616f65a96

@ -84,12 +84,10 @@ android {
buildTypes { buildTypes {
release { release {
release { signingConfig signingConfigs.release
signingConfig signingConfigs.release minifyEnabled true
minifyEnabled true useProguard true
useProguard true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
} }
} }
} }

@ -0,0 +1,18 @@
## Flutter wrapper
-keep class io.flutter.app.** { *; }
-keep class io.flutter.plugin.** { *; }
-keep class io.flutter.util.** { *; }
-keep class io.flutter.view.** { *; }
-keep class io.flutter.** { *; }
-keep class io.flutter.plugins.** { *; }
-dontwarn io.flutter.embedding.**
## AMap 3D Map
-keep class com.amap.api.maps.**{*;}
-keep class com.autonavi.**{*;}
-keep class com.amap.api.trace.**{*;}
## AMap Location
-keep class com.amap.api.location.**{*;}
-keep class com.amap.api.fence.**{*;}
-keep class com.autonavi.aps.amapapi.model.**{*;}

@ -184,7 +184,7 @@ packages:
name: dio name: dio
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "4.0.0-prev3" version: "4.0.0"
extended_text: extended_text:
dependency: "direct main" dependency: "direct main"
description: description:

@ -2,7 +2,7 @@ name: akuCommunity
description: A new Flutter project. description: A new Flutter project.
publish_to: "none" # Remove this line if you wish to publish to pub.dev publish_to: "none" # Remove this line if you wish to publish to pub.dev
version: 1.1.10-dev+17 version: 1.1.21-dev+27
environment: environment:
sdk: ">=2.7.0 <3.0.0" sdk: ">=2.7.0 <3.0.0"
@ -40,7 +40,7 @@ dependencies:
#滑块 #滑块
flutter_slidable: ^0.6.0-nullsafety.0 flutter_slidable: ^0.6.0-nullsafety.0
#http #http
dio: ^4.0.0-prev3 dio: ^4.0.0
#骨架 #骨架
shimmer: ^2.0.0-nullsafety.0 shimmer: ^2.0.0-nullsafety.0
#随机二维码 #随机二维码

Loading…
Cancel
Save