Disable analytics in firebase test lab

I'm also keeping analytics disabled by default.
This commit is contained in:
Vishesh Handa
2019-06-02 17:12:22 +02:00
parent 2bfd6ea199
commit f3b73df119
5 changed files with 51 additions and 20 deletions

View File

@ -20,6 +20,12 @@ Future<String> getVersionString() async {
return versionText;
}
Future<bool> shouldEnableAnalytics() async {
const _platform = const MethodChannel('gitjournal.io/git');
final bool result = await _platform.invokeMethod('shouldEnableAnalytics');
return result;
}
/// adb logcat
/// Returns the file path where the logs were dumped
Future<String> dumpAppLogs() async {