jcesarmobile commented on a change in pull request #781: breaking: Use
WKURLSchemeHandler for serving app content
URL: https://github.com/apache/cordova-ios/pull/781#discussion_r379829214
##########
File path:
CordovaLib/Classes/Private/Plugins/CDVIntentAndNavigationFilter/CDVIntentAndNavigationFilter.m
##########
@@ -46,7 +46,7 @@ - (void)parser:(NSXMLParser*)parser
didStartElement:(NSString*)elementName names
- (void)parserDidStartDocument:(NSXMLParser*)parser
{
// file: url <allow-navigations> are added by default
- self.allowNavigations = [[NSMutableArray alloc] initWithArray:@[
@"file://" ]];
+ self.allowNavigations = [[NSMutableArray alloc] initWithArray:@[
@"file://", @"app://" ]];
Review comment:
Good point, I thought to only allow the default one, but we can easily allow
the configured one without an additional allow-navigation, will change it
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]