mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-09-18 17:33:03 +08:00
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:
@ -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,
|
||||
|
Reference in New Issue
Block a user