Skip to content

Commit

Permalink
proguard-rules.pro updated.
Browse files Browse the repository at this point in the history
build.gradle updated.
  • Loading branch information
joaquinsolla committed Mar 21, 2022
1 parent 79eef89 commit baa60fd
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 9 deletions.
1 change: 1 addition & 0 deletions RELEASES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ LISTADO DE VERSIONES:
7 (1.0.4)
8 (1.0.5)
9 (1.0.6)
11 (1.1.1)*

--BETA-VERSIONS
1 (1.0.0) Beta
Expand Down
4 changes: 0 additions & 4 deletions TO-DO.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,5 @@

-------OTHERS----------
puntos permanentes
actualizar notas de version
nuevo icono?
revisar librerias a comprimir antes de release
REVISAR COMENTARIOS

-------REVIEW----------
1 change: 1 addition & 0 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ android {

minifyEnabled true
useProguard true
shrinkResources true

proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'

Expand Down
13 changes: 12 additions & 1 deletion android/app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,15 @@
-keep class io.flutter.util.** { *; }
-keep class io.flutter.view.** { *; }
-keep class io.flutter.** { *; }
-keep class io.flutter.plugins.** { *; }
-keep class io.flutter.plugins.** { *; }
#New rules
-keep class io.flutter.material.** { *; }
-keep class io.flutter.services.** { *; }
-keep class io.flutter.widgets.** { *; }
-keep class google_mobile_ads.** { *; }
-keep class mailto.** { *; }
-keep class social_share.** { *; }
-keep class flushbar.** { *; }
-keep class url_launcher.** { *; }
-keep class twitter_intent.** { *; }

2 changes: 1 addition & 1 deletion lib/common/methods.dart
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ void copy_to_clipboard(BuildContext context, String stats, String emojis, String
"\n\n" +
encasilladoPlayStoreUrl;
Clipboard.setData(ClipboardData(text: text));
//may cause problems with null sound safety

Flushbar(
message: "Copiado al portapapeles",
duration: Duration(milliseconds: 2500),
Expand Down
1 change: 0 additions & 1 deletion lib/common/widgets.dart
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,6 @@ TextButton streakButton(BuildContext context) {
}

void wordDoesNotExistFlushbar(BuildContext context) {
//may cause problems with null sound safety
Flushbar(
message: "La palabra no existe",
duration: Duration(seconds: 3),
Expand Down
4 changes: 2 additions & 2 deletions lib/pages/home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,7 @@ class _HomeState extends State<Home> {
// LETTERS FIELD MANAGEMENT

AnimatedContainer letterCell(String char, String col) {
//COLOR SELECTION

Color? cellColor = appWhite;
if (col == "V") cellColor = appGreen;
if (col == "A") cellColor = appYellow;
Expand Down Expand Up @@ -952,7 +952,7 @@ class _HomeState extends State<Home> {
void check_device() {
setState(() {
deviceWidth = MediaQuery.of(context).size.width;
deviceHeight = MediaQuery.of(context).size.height - 168.5 - 60 - 10; // 161.5 static px + 60 Ad + 10 Ad Margin
deviceHeight = MediaQuery.of(context).size.height - 168.5 - 60 - 15; // 161.5 static px + 60 Ad + 15 Ad Margin
keyHeight = (deviceHeight) * 0.1;
});
}
Expand Down

0 comments on commit baa60fd

Please sign in to comment.