Commit 69140da9cc1804a25b1d947418ea2aebadcb4282
1 parent
c304dc3e
feat:android混淆、flutter最低版本提升
Showing
2 changed files
with
5 additions
and
4 deletions
android/app/proguard-rules.pro
@@ -37,9 +37,9 @@ | @@ -37,9 +37,9 @@ | ||
37 | public<init>(org.json.JSONObject); | 37 | public<init>(org.json.JSONObject); |
38 | } | 38 | } |
39 | -keepclassmembers enum *{ | 39 | -keepclassmembers enum *{ |
40 | - publicstatic**[] values(); | ||
41 | - publicstatic** valueOf(java.lang.String); | 40 | + public static **[] values(); |
41 | + public static ** valueOf(java.lang.String); | ||
42 | } | 42 | } |
43 | -keep public class com.kouyuxingqiu.wow_english.R$*{ | 43 | -keep public class com.kouyuxingqiu.wow_english.R$*{ |
44 | - publicstaticfinalint*; | 44 | + public static final int *; |
45 | } | 45 | } |
46 | \ No newline at end of file | 46 | \ No newline at end of file |
pubspec.yaml
@@ -19,7 +19,8 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev | @@ -19,7 +19,8 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev | ||
19 | version: 1.0.4+4 | 19 | version: 1.0.4+4 |
20 | 20 | ||
21 | environment: | 21 | environment: |
22 | - sdk: '>=3.0.0 <4.0.0' | 22 | + sdk: '>=3.2.0 <4.0.0' |
23 | + flutter: '>=3.16.0' | ||
23 | 24 | ||
24 | # Dependencies specify other packages that your package needs in order to work. | 25 | # Dependencies specify other packages that your package needs in order to work. |
25 | # To automatically upgrade your package dependencies to the latest versions | 26 | # To automatically upgrade your package dependencies to the latest versions |