• Victoria Ashworth's avatar
    Skip injecting Bonjour settings when port publication is disabled (#136562) · 0383d8ba
    Victoria Ashworth authored
    Some of our tests in CI are triggering the `NSLocalNetworkUsageDescription` dialog when they're not supposed to (https://github.com/flutter/flutter/issues/129836) since it's disabled via flags (`--no-publish-port` for flutter/flutter and `--disable-vm-service-publication` for flutter/engine).
    
    Normally, we inject `NSLocalNetworkUsageDescription` (and other bonjour settings) to the Info.plist during the project build for debug and profile mode since by default they will publish the VM Service port over mDNS.
    
    To help diagnose the issue, though, this PR changes it so that we don't inject `NSLocalNetworkUsageDescription` (and other bonjour settings) when port publication is disabled since it shouldn't be needed. Hopefully, this will give us better error messages or cause the app to crash and end the test early (rather than timeout after 30 minutes).
    0383d8ba
Name
Last commit
Last update
..
analysis_options.yaml Loading commit data...
flutter_tools.dart Loading commit data...
fuchsia_asset_builder.dart Loading commit data...
fuchsia_tester.dart Loading commit data...
macos_assemble.sh Loading commit data...
podhelper.rb Loading commit data...
tool_backend.bat Loading commit data...
tool_backend.dart Loading commit data...
tool_backend.sh Loading commit data...
xcode_backend.dart Loading commit data...
xcode_backend.sh Loading commit data...
xcode_debug.js Loading commit data...