play console fixes: r8 obfuscation, 16kb page support, v1.3.1
This commit is contained in:
@@ -53,8 +53,12 @@ android {
|
|||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
signingConfig = signingConfigs.getByName("release")
|
signingConfig = signingConfigs.getByName("release")
|
||||||
isMinifyEnabled = false
|
isMinifyEnabled = true
|
||||||
isShrinkResources = false
|
isShrinkResources = true
|
||||||
|
proguardFiles(
|
||||||
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
||||||
|
"proguard-rules.pro",
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Vendored
+22
@@ -0,0 +1,22 @@
|
|||||||
|
# R8 keep rules for release builds. Keep these narrow: broad -keep rules defeat
|
||||||
|
# obfuscation, and Play flags DEX obfuscation below 25 %.
|
||||||
|
|
||||||
|
# flutter_local_notifications stores scheduled notifications as JSON via Gson
|
||||||
|
# (models are reflected on) and its receivers are declared in the manifest.
|
||||||
|
-keep class com.dexterous.flutterlocalnotifications.** { *; }
|
||||||
|
|
||||||
|
# Gson: generic type info is needed for TypeToken deserialization.
|
||||||
|
-keepattributes Signature, *Annotation*, EnclosingMethod, InnerClasses
|
||||||
|
-keep class com.google.gson.reflect.TypeToken { *; }
|
||||||
|
-keep class * extends com.google.gson.reflect.TypeToken
|
||||||
|
-keep class * extends com.google.gson.TypeAdapter
|
||||||
|
-keep class * implements com.google.gson.TypeAdapterFactory
|
||||||
|
-keep class * implements com.google.gson.JsonSerializer
|
||||||
|
-keep class * implements com.google.gson.JsonDeserializer
|
||||||
|
-keepclassmembers,allowobfuscation class * {
|
||||||
|
@com.google.gson.annotations.SerializedName <fields>;
|
||||||
|
}
|
||||||
|
|
||||||
|
# TensorFlow Lite: the native runtime calls back into these classes via JNI.
|
||||||
|
-keep class org.tensorflow.lite.** { *; }
|
||||||
|
-dontwarn org.tensorflow.lite.gpu.**
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Resources referenced only by name from Dart; stop resource shrinking from removing them. -->
|
||||||
|
<resources xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
tools:keep="@drawable/ic_stat_icon_white" />
|
||||||
+2
-2
@@ -617,10 +617,10 @@ packages:
|
|||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: tflite_flutter
|
name: tflite_flutter
|
||||||
sha256: "48e6fde2ad97162bb66a16a142f4c4698add9e8cd397ce9d1cc7451b55537ac1"
|
sha256: "0bba9040d8decda0960d7abf8eabf32243bf092bc7d0084e8e19681866b0bdbe"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.11.0"
|
version: "0.12.1"
|
||||||
timezone:
|
timezone:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
|
|||||||
+2
-2
@@ -2,7 +2,7 @@ name: sd_kovinar
|
|||||||
description: SD Kovinar Muta club app — target scoring, camera streams, training calendar and contacts.
|
description: SD Kovinar Muta club app — target scoring, camera streams, training calendar and contacts.
|
||||||
publish_to: 'none' # This prevents publishing to pub.dev
|
publish_to: 'none' # This prevents publishing to pub.dev
|
||||||
|
|
||||||
version: 1.3.0+6
|
version: 1.3.1+7
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: '>=3.3.0 <4.0.0'
|
sdk: '>=3.3.0 <4.0.0'
|
||||||
@@ -14,7 +14,7 @@ dependencies:
|
|||||||
flutter_mjpeg: ^2.0.0
|
flutter_mjpeg: ^2.0.0
|
||||||
intl: any
|
intl: any
|
||||||
|
|
||||||
tflite_flutter: ^0.11.0
|
tflite_flutter: ^0.12.1
|
||||||
image: ^4.5.4
|
image: ^4.5.4
|
||||||
camera: ^0.10.0
|
camera: ^0.10.0
|
||||||
path_provider: ^2.0.15
|
path_provider: ^2.0.15
|
||||||
|
|||||||
Reference in New Issue
Block a user