I'm using this package on a Flutter Mac app and am trying to stream Android adb logs.
When I run adb logcat from the terminal, I get different results than what I can in my app. I'm not sure if it just can't keep up with the stream or if it is skipping lines but there are lots of lines that are missing.
I'm using ShellLinesController and my shell looks like:
final shell =
Shell(throwOnError: false, stdout: controller.sink, verbose: false);
I then:
final args = shellArguments(arguments);
await shell.run(args);
My listen method is:
shellLinesController.stream.listen((event) {
sendPort.send(event);
});
(I am using an isolate)
I'm using this package on a Flutter Mac app and am trying to stream Android adb logs.
When I run adb logcat from the terminal, I get different results than what I can in my app. I'm not sure if it just can't keep up with the stream or if it is skipping lines but there are lots of lines that are missing.
I'm using ShellLinesController and my shell looks like:
final shell =
Shell(throwOnError: false, stdout: controller.sink, verbose: false);
I then:
final args = shellArguments(arguments);
await shell.run(args);
My listen method is:
shellLinesController.stream.listen((event) {
sendPort.send(event);
});
(I am using an isolate)