This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-9
lines changed
android/io/flutter/embedding/engine/loader
darwin/ios/framework/Source Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -237,9 +237,6 @@ public void ensureInitializationComplete(
237237 }
238238
239239 shellArgs .add ("--cache-dir-path=" + result .engineCachesPath );
240- if (!flutterApplicationInfo .clearTextPermitted ) {
241- shellArgs .add ("--disallow-insecure-connections" );
242- }
243240 if (flutterApplicationInfo .domainNetworkPolicy != null ) {
244241 shellArgs .add ("--domain-network-policy=" + flutterApplicationInfo .domainNetworkPolicy );
245242 }
Original file line number Diff line number Diff line change 134134 }
135135
136136 // Domain network configuration
137- NSDictionary * appTransportSecurity =
138- [mainBundle objectForInfoDictionaryKey: @" NSAppTransportSecurity" ];
139- settings.may_insecurely_connect_to_all_domains =
140- [FlutterDartProject allowsArbitraryLoads: appTransportSecurity];
141- settings.domain_network_policy =
142- [FlutterDartProject domainNetworkPolicy: appTransportSecurity].UTF8String ;
137+ // Disabled in https://github.com/flutter/flutter/issues/72723.
138+ // Re-enable in https://github.com/flutter/flutter/issues/54448.
139+ settings.may_insecurely_connect_to_all_domains = true ;
140+ settings.domain_network_policy = " " ;
143141
144142 // SkParagraph text layout library
145143 NSNumber * enableSkParagraph = [mainBundle objectForInfoDictionaryKey: @" FLTEnableSkParagraph" ];
You can’t perform that action at this time.
0 commit comments