Skip to content
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.

Commit

Permalink
Last updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Boehrsi committed Jun 5, 2020
1 parent 2d89d43 commit b4ccb1b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion lib/src/log/log_manager.dart
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,11 @@ class LogManager {
final dccLogLevel = event.data2;
final message = "$dccLogLevel: $dccLogMessage";
final logRecord = LogRecord(Level.INFO, message, _coreLoggerName);
_logEntry(logRecord, true);
if (Platform.isIOS) {
_logEntry(logRecord, true); // Enables iOS developers to receive DCC logs during Android Studio sessions
} else if (Platform.isAndroid) {
_writeToLogFile(logRecord);
}
}

Future<void> logDeviceInfo() async {
Expand Down
2 changes: 1 addition & 1 deletion pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ packages:
name: background_fetch
url: "https://pub.dartlang.org"
source: hosted
version: "0.5.5"
version: "0.5.6"
bloc:
dependency: "direct main"
description:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies:
flutter_localizations:
sdk: flutter
app_settings: ^3.0.0+1
background_fetch: ^0.5.5
background_fetch: ^0.5.6
bloc: ^3.0.0
cached_network_image: ^2.0.0
contacts_service: ^0.3.10
Expand Down

0 comments on commit b4ccb1b

Please sign in to comment.