-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
flutter/engine
#20733Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilitydependency: dartDart team may need to help usDart team may need to help usdependency: dart:ioIssue in 'dart:io' libraryIssue in 'dart:io' libraryengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.
Description
Starting API 28[1] and iOS 9[2], insecure connections are banned on native platform by default. Flutter, on the other hand, uses Dart VM's HTTP implementation which integrates with Sockets directly. This circumvents the security features on the platform and allows HTTP protocol.
We recently added capability to disallow HTTP on a per-platform basis to Dart SDK (dart-lang/sdk#40548). This issue tracks enabling that feature on iOS and Android platforms only. Desktop and Web platforms are unaffected.
1: https://developer.android.com/training/articles/security-config#CleartextTrafficPermitted
2: https://developer.apple.com/documentation/bundleresources/information_property_list/nsapptransportsecurity
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilitydependency: dartDart team may need to help usDart team may need to help usdependency: dart:ioIssue in 'dart:io' libraryIssue in 'dart:io' libraryengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.