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 +0
-19
lines changed 
shell/platform/darwin/ios/framework/Source Expand file tree Collapse file tree 2 files changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -221,9 +221,6 @@ - (BOOL)application:(UIApplication*)application
221221                   restorationHandler: restorationHandler]) {
222222    return  YES ;
223223  }
224-   if  (userActivity.activityType  == NSUserActivityTypeBrowsingWeb ) {
225-     return  NO ;
226-   }
227224  return  [self  openURL: userActivity.webpageURL];
228225}
229226
Original file line number Diff line number Diff line change @@ -123,22 +123,6 @@ - (void)testLaunchUrlWithFragmentNoQueryParameter {
123123
124124#pragma mark  - Deep linking
125125
126- - (void )testUniversalLinkWebBrowserUrl  {
127-   OCMStub ([self .mockMainBundle objectForInfoDictionaryKey: @" FlutterDeepLinkingEnabled" 
128-       .andReturn (@YES );
129- 
130-   NSUserActivity * userActivity =
131-       [[NSUserActivity  alloc ] initWithActivityType: NSUserActivityTypeBrowsingWeb ];
132-   userActivity.webpageURL  = [NSURL  URLWithString: @" http://myApp/custom/route?query=test" 
133-   BOOL  result = [self .appDelegate
134-                application: [UIApplication sharedApplication ]
135-       continueUserActivity: userActivity
136-         restorationHandler: ^(NSArray <id <UIUserActivityRestoring>>* __nullable restorableObjects){
137-         }];
138-   XCTAssertFalse (result);
139-   OCMReject ([self .mockNavigationChannel invokeMethod: OCMOCK_ANY arguments: OCMOCK_ANY]);
140- }
141- 
142126- (void )testUniversalLinkPushRoute  {
143127  OCMStub ([self .mockMainBundle objectForInfoDictionaryKey: @" FlutterDeepLinkingEnabled" 
144128      .andReturn (@YES );
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments