From 32c928e4c4de9b4d5d7f5b0a2b4e6de0519a4e99 Mon Sep 17 00:00:00 2001 From: Jae Kim Date: Wed, 20 Dec 2023 10:56:04 -0800 Subject: [PATCH] fix proguard for logback and dart version --- android/proguard-rules.txt | 3 ++- pubspec.yaml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/android/proguard-rules.txt b/android/proguard-rules.txt index 7fede45..1564ced 100644 --- a/android/proguard-rules.txt +++ b/android/proguard-rules.txt @@ -10,5 +10,6 @@ # Optimizely -keep class com.optimizely.optimizely_flutter_sdk.** {*;} -keep class com.fasterxml.jackson.** {*;} +# Logback +-keep class ch.qos.** { *; } ##---------------End: proguard configuration ---------- - diff --git a/pubspec.yaml b/pubspec.yaml index c2f0293..bda345b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -4,7 +4,7 @@ version: 2.0.0-beta homepage: https://github.com/optimizely/optimizely-flutter-sdk environment: - sdk: '>=2.16.2 <=3.1.2' + sdk: '>=2.16.2 <4.0.0' flutter: ">=2.5.0" dependencies: