Move fetch application logs to its own plugin

Maybe it will be useful to others. This way we're also closer to
removing almost all java / objective-c custom code.
This commit is contained in:
Vishesh Handa
2019-12-21 18:17:14 +01:00
parent 47f547b9a6
commit 2ba5b52f8d
6 changed files with 12 additions and 54 deletions

View File

@ -34,14 +34,6 @@ Future<bool> shouldEnableAnalytics() async {
}
}
/// adb logcat
/// Returns the file path where the logs were dumped
Future<String> dumpAppLogs() async {
const _platform = MethodChannel('gitjournal.io/git');
final String logsFilePath = await _platform.invokeMethod('dumpAppLogs');
return logsFilePath;
}
void showUndoDeleteSnackbar(
BuildContext context,
StateContainerState stateContainer,