File tree Expand file tree Collapse file tree 2 files changed +3
-10
lines changed 
android/io/flutter/embedding/engine/loader 
darwin/ios/framework/Source Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -216,10 +216,9 @@ public void ensureInitializationComplete(
216216      }
217217
218218      shellArgs .add ("--cache-dir-path="  + result .engineCachesPath );
219-       // TODO(mehmetf): Announce this since it is a breaking change then enable it. 
220-       // if (!flutterApplicationInfo.clearTextPermitted) { 
221-       //   shellArgs.add("--disallow-insecure-connections"); 
222-       // } 
219+       if  (!flutterApplicationInfo .clearTextPermitted ) {
220+         shellArgs .add ("--disallow-insecure-connections" );
221+       }
223222      if  (flutterApplicationInfo .domainNetworkPolicy  != null ) {
224223        shellArgs .add ("--domain-network-policy="  + flutterApplicationInfo .domainNetworkPolicy );
225224      }
Original file line number Diff line number Diff line change 140140  settings.domain_network_policy  =
141141      [FlutterDartProject domainNetworkPolicy: appTransportSecurity].UTF8String ;
142142
143-   //  TODO(mehmetf): We need to announce this change since it is breaking.
144-   //  Remove these two lines after we announce and we know which release this is
145-   //  going to be part of.
146-   settings.may_insecurely_connect_to_all_domains  = true ;
147-   settings.domain_network_policy  = " " 
148- 
149143#if  FLUTTER_RUNTIME_MODE == FLUTTER_RUNTIME_MODE_DEBUG
150144  //  There are no ownership concerns here as all mappings are owned by the
151145  //  embedder and not the engine.
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments