Skip to content

Commit a3b9953

Browse files
committed
fix log with decod
1 parent 2ddeec5 commit a3b9953

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/decision/bucketing_manager.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ class BucketingManager extends DecisionManager {
7474
Flagship.sharedInstance().getConfiguration()?.timeout ?? TIMEOUT);
7575
switch (response.statusCode) {
7676
case 200:
77-
Flagship.logger(Level.ALL, response.body, isJsonString: true);
77+
Flagship.logger(Level.ALL, utf8.decode(response.bodyBytes),
78+
isJsonString: true);
7879
String? lastModified = response.headers["last-modified"];
7980
if (lastModified != null) {
8081
prefs.setString(

lib/flagship_version.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
/// This file is automatically updated
2-
const FlagshipVersion = "4.0.0";
2+
const FlagshipVersion = "4.0.1-beta";

0 commit comments

Comments
 (0)