mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-09-12 14:09:12 +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:
@ -6,6 +6,7 @@ import 'package:launch_review/launch_review.dart';
|
||||
import 'package:share/share.dart';
|
||||
import 'package:url_launcher/url_launcher.dart';
|
||||
import 'package:page_transition/page_transition.dart';
|
||||
import 'package:fetch_app_logs/fetch_app_logs.dart';
|
||||
|
||||
import 'package:gitjournal/analytics.dart';
|
||||
import 'package:gitjournal/state_container.dart';
|
||||
@ -163,7 +164,7 @@ class AppDrawer extends StatelessWidget {
|
||||
onTap: () async {
|
||||
var platform = Platform.operatingSystem;
|
||||
var versionText = await getVersionString();
|
||||
var appLogsFilePath = await dumpAppLogs();
|
||||
var appLogsFilePath = await FetchAppLogs.dumpAppLogsToFile();
|
||||
|
||||
final Email email = Email(
|
||||
body:
|
||||
|
Reference in New Issue
Block a user