Fix Android logging

This had broken everything!!!
This commit is contained in:
Vishesh Handa
2019-07-31 00:41:36 +02:00
parent 2606dd1a05
commit ad3db26a5b
2 changed files with 7 additions and 2 deletions

View File

@ -51,7 +51,12 @@ public class MainActivity extends FlutterActivity implements MethodCallHandler {
if (call.arguments instanceof Map) {
Map<String, Object> map = (Map<String, Object>) call.arguments;
for (Map.Entry<String, Object> entry : map.entrySet()) {
Log.d("GitJournalAndroid", ". " + entry.getKey() + ": " + entry.getValue().toString());
Object val = entry.getValue();
String objVal = "";
if (val != null) {
objVal = val.toString();
}
Log.d("GitJournalAndroid", ". " + entry.getKey() + ": " + val);
}
}

View File

@ -1,6 +1,6 @@
name: journal
description: A Journaling App Built on top of Git
version: 1.1.10+10
version: 1.1.11+10
dependencies:
flutter: